Data.DB.TObjectField.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 | TObjectField |
Description
Returns the field's default width.
The result of the GetDefaultWidth method is at least 10 (when there are no owned fields), or the sum of the owned fields' default width plus 10 and then divided by 2.