API:Vcl.CheckLst.TCheckListBox.TabWidth
Delphi
property TabWidth: Integer read FTabWidth write SetTabWidth default 0;
C++
__property TabWidth = {default=0};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | published | Vcl.CheckLst.pas Vcl.CheckLst.hpp |
Vcl.CheckLst | TCheckListBox |
説明
リストボックス内のタブの幅のサイズを指定します。
Vcl.CheckLst.TCheckListBox.TabWidth は Vcl.StdCtrls.TCustomListBox.TabWidth を継承しています。以下の内容はすべて Vcl.StdCtrls.TCustomListBox.TabWidth を参照しています。
リストボックス内のタブの幅のサイズを指定します。
TabWidth を設定すると,リストボックスの文字列中の各タブ文字が占める空間の幅をダイアログベース単位で制御できます。ダイアログベースの値は,GetDialogBaseUnit API を呼び出すと取得できます。
TabWidth がデフォルト値の 0 に設定されていると,タブ文字は空白に展開されず,動作環境によって決まる文字で表示されます。デフォルトで Windows によって指定される幅に設定されます。この幅は 2 ダイアログベース単位です。