ReadOnly Property

Gets or sets the read-only status of the control.

object.ReadOnly = [boolean]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and boolean is a boolean expression that evaluates to either True or False, as described in Settings.

Settings

If set to True then the end-user will not be able to change the contents of the control. Read-only controls differ from disabled controls in that they can be interacted with, but they cannot be modified. Whereas a disabled control cannot be interacted with at all. For example, a user can select the text of a read-only text box, but they cannot change it. When the ReadOnly property of a control is set to True, there is no visual change to the control.

See Also

Enabled property | Visible property

Applies To

Combo box control

DataGrid control

Date combo box control

NumericCombo control

Text box control


© 2004-2021 looksoftware. All rights reserved.