[Overview][Constants][Types][Classes][Procedures and functions][Index] |
The number of visible vertical columns displayed in the control.
Source position: stdctrls.pp line 639
public property TCustomListBox.Columns : Integer |
A list box can have multiple columns, as well as multiple rows. When Columns is greater than 0 (zero), it specifies the number of columns that are visible without horizontal scrolling. i. e. the width of a single column becomes Width/Columns. Setting a new value for Columns causes the widgetset class to be notified when a handle has been allocated for the control.