DisplayName – PB Docs 150

DisplayName property for PowerScript controls

Controls

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

proc.png To set a DisplayName for an OLE control:

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

proc.png 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
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x