Data.DB.TBooleanField.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 TBooleanField

Description

Returns the number of characters required to represent a field's Boolean value as a string.

The GetDefaultWidth method returns the number of characters required to represent a field's Boolean value as a string.

For example, if a Boolean field has a value of True, GetDefaultWidth returns 4.

See Also