disabled Property

See Also            Applies To

Specifies whether the object can respond to user input.

Syntax

object.disabled[ = Boolean]

Parameters

object

A script object.

Boolean

If false (the default), the object is enabled to respond to user input. If true, the object is not enabled.

Remarks

When editing a design-time control that has an Enabled property, the design-time control sets the disabled script object property. When the Enabled design-time property is true, the disabled script object property is false. Likewise, when Enabled is false, disabled is true.

This property corresponds to the disabled property in the Data Object Model.