RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTimePicker.Enabled Property

Controls whether the control responds to mouse, keyboard, and timer events.

Pascal
property Enabled: Boolean;
C++
__property Boolean Enabled;

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, keyboard, and timer events. 

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!