Data.DB.TNumericField.SetText
Delphi
procedure SetText(const Value: string); override;
C++
virtual void __fastcall SetText(const System::UnicodeString Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.DB.pas Data.DB.hpp |
Data.DB | TNumericField |
Description
Sets the value of the field with the given string value.
Data.DB.TNumericField.SetText inherits from Data.DB.TField.SetText. All content below this line refers to Data.DB.TField.SetText.
Sets the value of the field with the given string value.
The SetText method internally calls SetAsString to set the field's value according to the given string Value.
Trying to call the SetText method as implemented in TField raises an exception.