Data.DB.TLongWordField.GetText
Delphi
procedure GetText(var Text: string; DisplayText: Boolean); override;
C++
virtual void __fastcall GetText(System::UnicodeString &Text, bool DisplayText);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.DB.pas Data.DB.hpp |
Data.DB | TLongWordField |
Description
Returns the field's value as a string.
The GetText method populates the Text
parameter with the value of the field converted to a string. If the DisplayText
parameter is set to True, then Text
has the same content that would be displayed in a data-aware control. Otherwise, Text
will have the format as it is stored in the field.