State Property (Specific to StateEditorButton Objects)

Applies to TestComplete 15.63, last modified on April 23, 2024

Description

Use this property to get or set an object’s current state.

Declaration

TestObj.State

Read-Write Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

One of the following constants:

Constant Value Description
cbUnchecked 0 The control is unchecked.
cbChecked 1 The control is checked.
cbGrayed 2 The control is grayed.
Note: This state does not apply to radio buttons.

See Also

Click Action (Specific to StateEditorButton Objects)

Highlight search results