The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



OnHTMLTag


Unit:SDL_htmlsupport
Class:THTMLProducer
Declaration:property OnHTMLTag: TOnHTMLTagEvent;
{ TOnHTMLTagEvent = procedure (Sender: TObject; TagName: string; Params: string; var Replacement: string) of object; }

The OnHTMLTag event is triggered when the parser (which is started by the method Convert) encounters a special HTML tag. The parameter TagName contains the name of the tag, the Params parameter contains the parameters, and the variable parameter Replacement contains the entire tag (including the angle brackets) and has to be replaced by appropriate HTML code.



Last Update: 2012-Oct-20