property MaskEdit.Enabled as Boolean
Retrieves or sets a value indicating whether the control is enabled or disabled.

TypeDescription
Boolean A boolean expression indicating whether the control is enabled or disabled.

Use the Enable property to disable the control. Use the ReadOnly property to make your control read-only.