ComponentOne True DBInput Pro 8.0
ReadOnly Property (TDBText)

 

Reference> TDBText Control> TDBText Control Properties> ReadOnly Property (TDBText)

ReadOnly Property (TDBText)

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.

Syntax

control.ReadOnly= boolean

Read/Write at run time and design time.

Values

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)

Remarks

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

Value Property (TDBDate)

Value Property (TDBMask)

Value Property (TDBNumber)

Value Property (TDBNumLite)

Value Property (TDBTime)

Text Property (TDBDate)

Text Property (TDBMask)

Text Property (TDBNumber)

Text Property (TDBNumLite)

Text Property (TDBText)

Text Property (TDBTime)

Number Property (TDBDate)

 

 


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

Product Support Forum  |  Documentation Feedback