Data.DB.TLongWordField.GetText
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TLongWordField |
Delphi
procedure GetText(var Text: string; DisplayText: Boolean); override;
C++
virtual void __fastcall GetText(System::UnicodeString &Text, bool DisplayText);
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.