OverviewExamples
xButton.SetState ( |
Sets the up/down state of an xButton object.
Note: This action is only effective on toggle xButtons. You can change an xButton's type (standard or toggle) by changing the Style setting in the xButton's properties.
(string) The name of the xButton object.
(number) The new state of the xButton:
CONSTANT |
VALUE |
DESCRIPTION |
BTN_UP |
0 |
xButton is up (normal). (default) |
BTN_DOWN |
1 |
xButton is down (pressed). |
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions