DisplayOnly

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

StepsTo specify that text is display only:

  1. 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