Data.DB.TFieldGetTextEvent
[–] Properties | |
---|---|
Type: type typedef
| |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: Data.DB |
Delphi
TFieldGetTextEvent = procedure(Sender: TField; var Text: string;
DisplayText: Boolean) of object;
C++
typedef void __fastcall (__closure *TFieldGetTextEvent)(TField* Sender, System::UnicodeString &Text, bool DisplayText);
Description
TFieldGetTextEvent is the type for event handlers that assign a field's value from a string.
Sender is the field whose value the event handler supplies.
Text returns a string that represents the field's value.
DisplayText is true if the field's value is to be used for display only; false if the string is to be used for editing the field's value.