Skip to main content

TcxCustomCheckListBox.Columns Property

Defines the number of columns visible within the checklist box.

Declaration

property Columns: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

A list box control enables you to display items within multiple columns. The Columns property specifies the number of columns displayed within the control.

If Columns is set to 0, all items are displayed in a single column and a vertical scrollbar is used to navigate through items.

If Columns is set to a value greater than 0, the vertical scrollbar is hidden and items are placed down then across. The number of visible columns is specified by the current Columns property value. If all items cannot be displayed within the visible portion of the list box, a horizontal scrollbar is displayed thus allowing scrolling. The following screenshot shows a list box with the Columns property set to 2:

See Also