Data.DB.TBCDField.GetText
Delphi
procedure GetText(var Text: string; DisplayText: Boolean); override;
C++
virtual void __fastcall GetText(System::UnicodeString &Text, bool DisplayText);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Data.DB.pas Data.DB.hpp |
Data.DB | TBCDField |
説明
フィールドの値を string で返します。
GetValue メソッドは、Text パラメータを、string として返されたフィールドの値で設定します。 フィールドが通貨フィールドであり、DisplayText
パラメータが True の場合、形式は ffCurrency
に設定され、そうでなければ形式は ffFixed
に設定されます。フィールドが通貨フィールドではない場合、形式は ffGeneral
に設定されます。