State Property (CheckItem Objects)

Applies to TestComplete 15.69, last modified on November 13, 2024

Description

Use this property to specify current state of the specified checkable item.

Declaration

TestObj.State

Read-Only Property Variant
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

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

One of the following constants:

Value Description
cbUnchecked, False or 0 The item is unchecked.
cbChecked, True or 1 The item is checked.
cbGrayed or 2 The item is switched to grayed (indeterminate) state.

See Also

Check Action (CheckItem Objects)

Highlight search results