Moves the mouse pointer to a tool button and then sets its state according to the Checked parameter.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The method is applied to the following object:
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The method has the following parameter:
Specifies the tool button state to be set. It takes the following values:
||The tool button becomes checked.|
||The tool button becomes unchecked.|
If the tool button is not checkable, the method fails and posts an error message to the test log. To determine whether the tool button is checkable, use the
If the Checked parameter corresponds to the current Tool button state (for example, the Checked parameter value is
cbChecked and the tool button is already checked), the method performs no action and reports that the operation was executed successfully in the test log. To determine the current state of the tool button, use the
wIsCheckable Property (Specific to QtToolButton Controls)
wChecked Property (Specific to QtToolButton Controls)