Data.DB.TBCDField.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 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).

See Also