Label.IsEnabled

boolean Label.IsEnabled (

string ObjectName )

Description

Returns true if a specific label object is enabled, or false if it's disabled.

Note: When a label object is disabled, it is displayed in its Disabled color, and doesn't respond to the user at all.

Parameters

ObjectName

(string) The name of the label object.

Returns

(boolean) True if the label object is enabled, false if it is disabled. If an error occurs, false will be returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions