TField.Text property
Text representation of the field.
Declaration
property Text: string read GetEditText write SetEditText;Description
Text can be used to retrieve or set the value of the value as a string value for editing purposes. It will trigger the
OnGetText event handler
if a handler was specified. For display purposes, the
DisplayText property should be used.
Controls that should display the value in a textual format should use text whenever they must display the text for editing purposes.
Inversely, when a control should save the value entered by the user, it should write the contents to the
Text property,
not the
AsString property, this will invoke the
OnSetText event handler, if one is set.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
