Property Boolean pbNoEnterReadOnly
Read Access: | Get pbNoEnterReadOnly to BooleanVariable |
Write Access: | Set pbNoEnterReadOnly to BooleanVariable/Value |
Determines if Enabled_State set to False or a DD NoEnter setting in a DataDictionary should result in the control being disabled (False) or set to read-only (True).
If the control is disabled, the object cannot take the focus, and therefore cannot be changed. If the control is read-only, the control can take the focus, but cannot be changed. It can be used to copy from, which makes this a useful setting with multi line text objects. For this reason the, default for this property is True.
In addition, the ReadOnlyColor property default is changed to clBtnFace. This gives a no-enter control the appearance of a disabled control while still allowing you to navigate to it, scroll through it and copy text from it.