RAD Studio VCL Reference
|
Translates HTML-transparent tags in the template.
procedure DoTagEvent(Tag: TTag; const TagString: string; TagParams: TStrings; var ReplaceText: string); override;
virtual __fastcall DoTagEvent(TTag Tag, const AnsiString TagString, TStrings TagParams, AnsiString ReplaceText);
When the page producer encounters an HTML-transparent tag in its template, it calls DoTagEvent to translate that tag into the appropriate value. TBaseAdapterPageProducer overrides the inherited method to handle the <#STYLES>, <#WARNINGS>, and <#SERVERSCRIPT> tags. For any other tags, DoTagEvent generates an OnHTMLTag event.
Tag is the type of HTML-transparent tag that was encountered in the HTML template.
TagString is tag name of the HTML-transparent tag. This is the first string that follows the pound sign (#).
TagParams gives the parameter portion of the HTML-transparent tag. Each string in the TStrings object has the form ParamName=Value.
ReplaceText returns the translated string that should replace the HTML-transparent tag.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|