Web.HTTPProd.THTMLTagEvent
Delphi
THTMLTagEvent = procedure (Sender: TObject; Tag: TTag; const TagString: string;
TagParams: TStrings; var ReplaceText: string) of object;
C++
typedef void __fastcall (__closure *THTMLTagEvent)(System::TObject* Sender, TTag Tag, const System::UnicodeString TagString, System::Classes::TStrings* TagParams, System::UnicodeString &ReplaceText);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Web.HTTPProd.pas Web.HTTPProd.hpp |
Web.HTTPProd | Web.HTTPProd |
Description
THTMLTagEvent is the type for event handlers that translate HTML-transparent tags into sequences of valid HTML.
Sender is the page producer component that is translating an HTML template that contains HTML-transparent tags.
Tag indicates the type of HTML-transparent tag that was encountered in the HTML template. It indicates the type of translation the event handler should perform to convert the HTML-transparent tag into a sequence of HTML commands.
TagString is the tag name of the HTML-transparent tag. If the Tag parameter is tgCustom, TagString should be used to determine what conversion to perform.
TagParams gives the parameter portion of the HTML-transparent tag. Each string in the TStrings object has the form ParamName=Value. Use the Names and Values properties of the TStrings object to parse these parameters.
ReplaceText returns the converted HTML commands that result from the HTML-transparent tag.