Control.Enabled

Syntax

Enabled: Boolean

Description

The Enabled property sets whether the component is enabled.

Comments

By default the property is set to True.

Example

To execute the example, create a button (see href="../../components/button/example_simplebutton.htm">Example of Creating a Simple Button). Set the False value to the Enabled property in the button parameters in order to disable the button for user:

Enabled: false

After executing the example created button is disabled for user.

See also:

Control