Skip to content

TReplaceTagEvent

Event to replace a tag.

Declaration

Source position: fptemplate.pp line 51

type
  TReplaceTagEvent = procedure(Sender: TObject; const TagString: string; 
                             TagParams: TStringList; 
                             out ReplaceText: string) of object;

Arguments

Name Description
Sender Object that triggered the event.
TagString Tag to be replaced.
TagParams Parameters for the tag.
ReplaceText The replacement text.

Description

TReplaceTagEvent is the type of the event that is called when the template parser needs to replace a tag.

See also

Name Description
TTemplateParser.OnReplaceTag Event to replace a tag.