DisplayName – PB Docs 2021

DisplayName

property for PowerScript controls

Applies to

Application object, OLE controls

Description

DisplayName is a user-readable name for your application or OLE
control. This name is displayed in OLE dialog boxes and windows that show
the object’s name. If you do not specify a value, the name of the control
(such as ole_1) or application (value of the AppName property) is used for
Display Name.

Usage

In a painter

To set a DisplayName for an OLE control:

  • Enter the name in the DisplayName field of the General page of
    the control’s Properties view.

To set a DisplayName for an application:

  1. Open the application in the Application painter.

  2. Enter the name in the DisplayName field of the General page of
    the application’s Properties view.

In scripts

The DisplayName property takes a string. The following example sets
a name for an OLE control:


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