Data.DB.TBCDField.GetDefaultWidth
Delphi
function GetDefaultWidth: Integer; override;
C++
virtual int __fastcall GetDefaultWidth();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TBCDField |
Description
Returns the field's default width.
Call GetDefaultWidth to obtain the field's default width. If Precision is greater than 0, GetDefaultWidth returns Precision + 1; otherwise, it returns 10 (the default width for TField).