Sign in Join
FPDoc Onlineexperiment

TField.OnGetText property

Member of TFieldpublishedIn unit DB

Event to format the field's content.

Declaration

pascal
property OnGetText: TFieldGetTextEvent read FOnGetText write FOnGetText;

Description

OnGetText is triggered whenever the Text or DisplayText properties are read. It can be used to return a custom formatted string in the AText parameter which will then typically be used by a control to display the field's contents to the user. It is not allowed to change the state of the dataset or the contents of the field during the execution of this event handler.

See also

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