Down Property

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

Specifies whether a button is in the pressed state.

Declaration

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

Applies To

The property applies to the following components:

TcxButton

Description

Several buttons can be combined into a group of mutually exclusive buttons which are treated as a radio group. To group the buttons, use the GroupIndex property. When one button in the group is pressed, the other buttons remain in the unpressed state. To unpress one button in the group, you need to make another button pressed.

If a button is pressed, its Down property value is True. If the button is unpressed, its Down property value is False.

Property Value

True if the button is pressed, and False if it is not.

Remarks

To use this property, specify the index of the logical group the target button belongs to using the GroupIndex property. If the button does not belong to any group, the Down property does not affect the button's state, and the button does not remain in the pressed state if it is clicked.

See Also

GroupIndex Property
AllowAllUp Property

Highlight search results