Data.DB.TBCDField.GetDefaultWidth
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TBCDField |
Delphi
function GetDefaultWidth: Integer; override;
C++
virtual int __fastcall GetDefaultWidth();
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).