ComponentOne True DBInput Pro 8.0
Enabled Property (TDBMask)

 

Reference> TDBMask Control> TDBMask Control Properties> Enabled Property (TDBMask)

Enabled Property (TDBMask)

Sets/returns whether a control or an object can respond to user-generated events. The Enabled property allows you to enabled or disable the control or object at either run time or design time. For example, you could disable the object for display purposes, providing read-only information.

Syntax

object.Enabled= boolean

Read/Write at run time and design time.

Values

True - Allows the control to respond to events. (Default)

False - Prevents the object from responding to events.

Remarks

If the Enabled property in the TDBContainer3D control is set to False, the child controls placed within the container control will also be disabled, not responding to any user-generated events such as mouse and keyboard interactions. The users will not be able to move the focus onto the child controls.

If the Enabled property in the TDBDate control is set to False, the text color of the control, the caption text, spin button and the drop-down button will be grayed out. The control will not respond to any mouse or keyboard interactions such as dropping down the Calendar object or incrementing the spin button. The user will not be able to even move the focus onto the control.

If the Enabled property in the TDBTime control is set to False, the text color of the control, the caption text and the spin button will be grayed. The control will not respond to any mouse or keyboard interactions such as incrementing values. The user will not be able to even move the focus on to the control.

This property in the TDBDate, TDBNumber, TDBNumLite, and TDBTime controls will override both the Spin and the DropDown object's Enabled property when set to False, disabling the buttons and all drop-down, spin features from any user-generated events.

This property in the TDBText control will override the DropDown object's Enabled property when set to False, disabling the buttons and all drop-down features from any user-generated events.

See Also

ReadOnly Property (TDBMask)

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback