DisplayOnly – PB Docs 150

DisplayOnly property for PowerScript controls

Controls

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

proc.png To 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:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x