DisplayOnly
property for PowerScript controls
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:
|
1 |
mle_1.DisplayOnly = TRUE |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest