Button.SetState

Button.SetState ( 

string ObjectName,

number State = BTN_UP )

Example 1

Button.SetState("ToggleButton1", BTN_DOWN);

Sets the "ToggleButton1" button object to the down state.

Example 2

Button.SetState("Homer Donut 3", BTN_UP);

Sets the "Homer Donut 3" button object to the up state.

See also:  Related Actions