TAbstractTranslator.TranslateStringProperty procedure
Specifies a method used to translate a String property.
Declaration
procedure TranslateStringProperty(Sender: TObject;
const Instance: TPersistent;
PropInfo: PPropInfo;
var Content: string); virtual
; abstractArguments
Sender | Object for the event notification. |
Instance | Persistent object with the property value translated in the method. |
PropInfo | RTTI information for the property translated in the method. |
Content | Variable parameter where the translated value for the property is returned. |
Description
TranslateStringProperty is an abstract virtual method which
defines the method used to translate a
String property in a
persistent object instance. TranslateStringProperty must be implemented in a
descendent class to perform the actions needed to retrieve and translate the
specified property value.
The address for the method is assigned as the OnReadStringProperty
event handler in TReader class instances.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
