Data.DB.TFieldSetTextEvent
Delphi
TFieldSetTextEvent = procedure(Sender: TField; const Text: string) of object;
C++
typedef void __fastcall (__closure *TFieldSetTextEvent)(TField* Sender, const System::UnicodeString Text);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
TFieldSetTextEvent is the type for event handlers that assign a field's value from a string.
Sender is the field whose value the event handler sets.
Text is a string that represents the value to set.
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.