[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event to format the field's content
Source position: db.pas line 450
published property TField.OnGetText : TFieldGetTextEvent |
OnGetText is triggered whenever the TField.Text or TField.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.
|
Text representation of the field |
|
|
Formatted field value |
|
|
Event to set the field's content based on a user-formatted string |
|
|
Event handler to get field content |