Vcl.Markdown.TMDViewer.OnNavigate
Prototype
property OnNavigate: TNavigateEvent read FOnNavigate write FOnNavigate;
TNavigateEvent = procedure(Sender :TObject; aHome, aPrevious, aNext :boolean) of object;
Description
Event called every time the user navigates in the document or between documents in order to update a button bar.
Sender is the control that has triggered the event. aHome, aPrevious and aNext indicate which navigation buttons should be enabled or disabled.
Example
procedure TForm1.MDViewer1Navigate(Sender: TObject; aHome, aPrevious, aNext: Boolean);
begin
bHome.Enabled := aHome;
bPrevious.Enabled := aPrevious;
bNext.Enabled := aNext;
end;
See also