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