Columns Property

Applies to TestComplete 15.65, last modified on June 25, 2024

Specifies the number of columns displayed within the component.

Declaration

componentObj.Columns
Read-Write Property Integer
componentObj     One of the user forms components and objects listed in the Applies To section  

Applies To

This property applies to the following components and objects:

TcxListBox, TcxRadioGroupProperties

Description

The property meaning depends on the object to which the property belongs.

TcxListBox.Columns

The Columns property of the TcxListBox component specifies the number of columns visible within the component simultaneously. You can use this property to make the component display its contents in several columns. The default value of this property is 0, which means that the component contents is arranged in a single column and if items do not fit the component height, the vertical scroll bar is displayed.

If Columns is greater than 0, the component’s contents is arranged into multiple columns. In order to navigate through columns, the horizontal scroll bar is used and the value of the Columns property specifies the number of columns visible within the component simultaneously.

TcxRadioGroupProperties.Columns

The Columns property of the TcxRadioGroupProperties object specifies the number of columns displayed within the radio group. The default value of this property is 1, which means that the radio buttons are displayed one under another. If Columns is greater than 1, the radio buttons are arranged into the specified number of columns within the group.

Property Value

An integer value that specifies the number of columns displayed in the component.

Highlight search results