Data.DB.TObjectField.GetDefaultWidth

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also