Reference > TDBTime Control > TDBTime Control Properties > ReadOnly Property (TDBTime) |
ReadOnly Property (TDBTime)
This property allows you to lock the control to prevent any user entry, including clipboard cut and paste, keyboard input and from the Calendar, Key, and Spin objects.
control.ReadOnly= boolean
Read/Write at run time and design time.
True - Able to navigate and highlight the text in the control, but cannot edit it. The program can still modify the text by changing the Text, Number, Value properties.
False - Able to edit the text in the control without any limitation. (Default)
If True, although the cursor will be located in the control, but no input will be accepted.
If False (the default), input will be accepted.
The program can modify the text by changing the Text, Number, Value properties, although the control is locked.
The settings of this property will take effect in the drop down edit window.
See Also