Data.DB.TBooleanField.GetDefaultWidth

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetDefaultWidth: Integer; override;

C++

virtual int __fastcall GetDefaultWidth();

プロパティ

種類 可視性 ソース ユニット
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TBooleanField

説明

フィールドの Boolean 値を文字列(string)で表現する際に必要となる文字数を返します。

GetDefaultWidth メソッドは、フィールドの Boolean 値を文字列(string)で表現する際に必要となる文字数を返します。

たとえば、Boolean フィールドの値が True である場合、GetDefaultWidth は 4 を返します。

関連項目