Application object
An application is a collection of PowerBuilder windows and objects
that provide functionality for user activities, such as order entry or
accounting activities. The Application object is the entry point into the
applications.
When a user runs an application, the Open event of the Application
object is fired. The Open event triggers the script that initiates all the
activity in the application.
Properties
|
Application property |
Datatype |
Description |
|---|---|---|
|
AppName |
String |
Specifies the name of the Application |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
DDETimeOut |
Integer |
Specifies the number of seconds PowerBuilder acting |
|
String |
User-readable name for your application. This name |
|
|
DWMessageTitle |
String |
Specifies the title of the message box for any |
|
Boolean |
Specifies whether you want PowerBuilder to free |
|
|
MicroHelpDefault |
String |
Specifies the default text of the MicroHelp object |
|
RightToLeft |
Boolean |
Specifies that characters should be displayed in TRUE — Message box text displays in FALSE — Characters display in |
|
ToolbarFrameTitle |
String |
Specifies the text that displays as the title for |
|
ToolbarPopMenuText |
String |
Allows you to change the toolbar location text |
|
ToolbarSheetTitle |
String |
Specifies the text that displays as the title for |
|
ToolbarText |
Boolean |
Specifies whether the text associated with the TRUE — FALSE — Text does not |
|
ToolbarTips |
Boolean |
Specifies whether PowerTips display when text is TRUE — FALSE — PowerTips are not |
|
ToolbarUserControl |
Boolean |
Specifies whether users can use the toolbar pop-up TRUE — Users can use pop-up FALSE — Users cannot use pop-up |
Events
|
Application event |
Occurs |
|---|---|
|
When the user closes the |
|
|
When the Idle function has been called in an |
|
|
When the user runs the application. |
|
|
When a serious execution time error occurs (such as For information about error messages, see |
Functions
|
Application function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the class of the Application |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Boolean |
Adds an event to the end of the message queue for |
|
|
Integer |
Sets the PBD library list in an executable. This |
|
|
Integer |
Sets up a pool of database transactions for an |
|
|
Integer |
Triggers a specified event in the Application |
|
|
Object |
Returns the type of the Application |