GroupIndex Property

Applies to TestComplete 15.47, last modified on January 20, 2023

Specifies the index of the logical group to which a button belongs.

Declaration

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

Applies To

The property applies to the following components:

TcxButton

Description

Buttons with equal non-zero GroupIndex property values are gathered into a logical group of mutually exclusive buttons and are treated as a radio group. When one button in the group is clicked, it remains in the pressed state until another button of the same group is pressed.

The AllowAllUp property specifies whether all of the buttons in the group can be in the unpressed state.

If the buttons' GroupIndex property value is 0, the buttons behave independently.

Property Value

An integer value specifying the index of the logical group a button belongs to. The default value is 0.

See Also

AllowAllUp Property
Down Property

Highlight search results