Applies to
MultiLineEdit, SingleLineEdit, RichTextEdit, EditMask controls
Description
When the Display Only property is enabled, users cannot change the text in an editable control. If the property is not enabled, users can change the text.
Usage
In a painter
To specify that text is display only:
-
Select the Display Only check box on the General page of the control's Properties view.
In scripts
The DisplayOnly property takes a boolean value. The following example specifies that text in a MultiLineEdit control cannot be changed:
mle_1.DisplayOnly = TRUE