Name: enabled

Type: property

Syntax: set the enabled of <object> to {true | false}

Summary: Specifies that an <object> is active and responds to user action.

Introduced: 1.0

OS: mac,windows,linux,ios,android

Platforms: desktop,server,web,mobile

Example:
set the enabled of card button "Work Miracles" to true

Example:
set the enabled of menu "Window" to false

Value (bool):The <enabled> of a <control> is true or false.
By default, the <enabled> <property> of a newly created <control> is true.

Description:
Use the <enabled> <property> to find out whether a control can respond to mouse clicks or keyboard presses.

The <enabled> <property> of an <object> is the logical inverse of that <object|object's> <disabled> <property>. When the <enabled> is true, the disabled is false, and vice versa.

An enabled control can receive the focus.

Setting a group's <enabled> <property> sets the <enabled> of each <control> in the <group>.

You can set the <enabled> <property> of a <menu(keyword)> by specifying the <menu(glossary)|menu's> name or number. An enabled <menu(keyword)> can be displayed, and <menu item|menu items> can be individually enabled or disabled using the <enable> and <disable> <command|commands>.

References: disabled (property), control (keyword), menu (keyword), enable (command), disable (command), enable menu (command), group (command), object (object), property (glossary), command (glossary), menu item (glossary), menu (glossary)

Tags: ui
