property MaskEdit.ReadOnly as Boolean
Retrieves or sets a value that determines whether the control is read only.

TypeDescription
Boolean A boolean expression that determines whether the control is read only.

By default, the ReadOnly property is False. The ReadOnly property indicates that the editor is locked, user can not update the content, the caret is available, so user can copy the text, excepts the password fields. Use the ReadOnly property to make your control read-only. Use Enabled property to disable the control. If the control is read-only, the user can change the cursor position. If the control is disabled, the cursor position cannot be changed. The BackColorReadOnly property specifies the control's background color when the field is locked ( ReadOnly property is True ). The ForeColorReadOnly property specifies the control's foreground color when the field is locked ( ReadOnly property is True ).