API:Vcl.StdCtrls.TListBox.TabWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TabWidth: Integer read FTabWidth write SetTabWidth default 0;

C++

__property TabWidth = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TListBox

Description

Specifies the size of the tabs in the list box.

Vcl.StdCtrls.TListBox.TabWidth inherits from Vcl.StdCtrls.TCustomListBox.TabWidth. All content below this line refers to Vcl.StdCtrls.TCustomListBox.TabWidth.

Specifies the size of the tabs in the list box.

Set TabWidth to control the number of dialog base units displayed for each tab character that appears in the strings of a list box.

If TabWidth is set to 0, which is the default setting, the tabs default to the width specified by Windows, which is two dialog base units.