[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Template component.
Source position: fptemplate.pp line 139
type TFPTemplate = class(TFPCustomTemplate) |
||
published |
||
property FileName: string; |
|
Name of the file with the template. |
property Template: string; |
|
The template text. |
property AllowTagParams: Boolean; |
|
Allow tags with parameters. |
property OnReplaceTag: TReplaceTagEvent; |
|
Event to replace a tag. |
property StartDelimiter: TParseDelimiter; |
|
Start delimiter for a template variable. |
property EndDelimiter: TParseDelimiter; |
|
End delimiter for a template variable. |
property ParamStartDelimiter: TParseDelimiter; |
|
Start delimiter for a template variable parameter. |
property ParamEndDelimiter: TParseDelimiter; |
|
End delimiter for a template variable parameter. |
property ParamValueSeparator: TParseDelimiter; |
|
Separator for a template variable parameter and its value. |
property OnGetParam: TGetParamEvent; |
|
Event to get a value for a template variable. |
end; |
|
Template component. |
|
| | | ||
|
Base class for templates. |
|
| | | ||
| | | ||
TFPTemplate is a component that can be used to parse templates. It is a descendant of TFPCustomTemplate and publishes the properties of its ancestor.
It can be dropped on a form and its properties can be set in the object inspector.
|
Base class for templates. |