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
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:
-
Open the application in the Application
painter. -
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:
1 |
ole_1.DisplayName = 'My Project' |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments