Push buttons, radio buttons and checkboxes can be controlled using this wrapper. Although the push() method generates the BN_CLICKED notification no actual mouse event occurs, therefore the application does not need to be in the foreground.
// Test checkbox
CheckBtn.check = false;
if (CheckBtn.check != false)
Env.LogError("Could not uncheck the checkbox");
| push | Pushes (clicks) the button. This method will generate a BN_CLICKED notification. |
|---|
| check | Depending on the button type this property gets/sets the value of a checkbox or the radio. Note that this method does not generate click notifications; use push() if you want the button handlers to be called. |
|---|