Image.IsEnabled

boolean Image.IsEnabled ( 

string ObjectName )

Example 1

enabled = Image.IsEnabled("Smiling Face");

Stores true in a variable named "enabled" if the "Smiling Face" image object is enabled, and false if it is disabled.

Example 2

bImage4Enabled = Image.IsEnabled("Image4");

Checks whether the "Image4" image object is enabled or disabled, and sets the bImage4Enabled variable to either true or false, 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