Sign in Join
FPDoc Onlineexperiment

TFPTemplate class

In unit fpTemplate

Template component.

Declaration

pascal
TFPTemplate = class(TFPCustomTemplate)

Inheritance

  1. TFPTemplate
  2. TFPCustomTemplate
  3. TPersistent
  4. TObject

Description

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.

See also

Properties

FileNamepublishedName of the file with the template.
TemplatepublishedThe template text.
AllowTagParamspublishedAllow tags with parameters.
StartDelimiterpublishedStart delimiter for a template variable.
EndDelimiterpublishedEnd delimiter for a template variable.
ParamStartDelimiterpublishedStart delimiter for a template variable parameter.
ParamEndDelimiterpublishedEnd delimiter for a template variable parameter.
ParamValueSeparatorpublishedSeparator for a template variable parameter and its value.

Events

OnReplaceTagpublishedEvent to replace a tag.
OnGetParampublishedEvent to get a value for a template variable.

Inherited

From TFPCustomTemplate (6)

Assign CreateParser GetContent GetParam HasContent ReplaceTag

From TPersistent (8)

AssignTo DefineProperties Destroy FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner

From TObject (41)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance Create DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.