Previous Topic

Next Topic

Inhoudsopgave

Book Index

Enabled Property

Property Property Enabled: Boolean (R/W)

Description

Controls whether the control responds to mouse and keyboard events.

Remarks

This property is common to all TForm controls.

Details

Use Enabled to change the availability of the control to the user. To disable a control, set Enabled to false. Disabled controls appear dimmed. If Enabled is false, the control ignores mouse and keyboard events.

To re-enable a control, set Enabled to true. The control is no longer dimmed, and the user can use the control.