Click Action (Specific to StateEditorButton Objects)

Applies to TestComplete 15.64, last modified on June 12, 2024


Moves the mouse pointer to the state editor control button and then simulates clicks of the left mouse button over it until the specified state is reached.



TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
State [in]    Required    Integer    
Result None

Applies To

The method is applied to the following object:

View Mode

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


The method has the following parameter:


Specifies the desired state of the editor button control. Possible values are:

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.

Result Value


See Also

Enabled Property (EditorButton Objects)
Text Property (EditorButton Objects)
Visible Property (EditorButton Objects)
State Property (Specific to StateEditorButton Objects)

Highlight search results