OverviewExamples
boolean xButton.IsEnabled ( |
enabledus_buttonis = xButton.IsEnabled("Fake Latin Toggle");
Stores true in enabledus_buttonis if the "Fake Latin Toggle" xButton object is enabled, and false if it is disabled.
bMustardEnabled = xButton.IsEnabled("Mustard Valve");
Checks whether the "Mustard Valve" xButton 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