OverviewExamples
boolean Button.IsEnabled ( |
enabledus_buttonis = Button.IsEnabled("Fake Latin Toggle");
Stores true in enabledus_buttonis if the "Fake Latin Toggle" button object is enabled, and false if it is disabled.
bMustardEnabled = Button.IsEnabled("Mustard Valve");
Checks whether the "Mustard Valve" button object is enabled or disabled, and stores true or false in the bMustardEnabled variable accordingly.
Tip: Starting a variable name with "b" is a technique that programmers use to help themselves remember that a variable contains a boolean value.
See also: Related Actions