Comment Event
Fired when a comment section is encountered.
Syntax
type TCommentEvent = procedure Comment(Sender: TObject; const Text: String) of object;property OnComment: TCommentEvent read FOnComment write FOnComment;
Remarks
The Comment event is fired whenever a comment section (<!-- ..text... -->) is found in the document.
The full text of the comment is provided by the Text parameter.