OverviewExamples
Button.SetEnabled ( |
Sets the enabled/disabled state of a button object.
Note: When a button is disabled, it takes on a disabled appearance (if it has one) and doesn't respond to the user at all.
(string) The name of the button object.
(boolean) Whether to make the button object enabled or disabled:
VALUE |
DESCRIPTION |
true |
Enabled. (Default) |
false |
Disabled. |
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions