LANGUAGES | POWER BUILDER | POWERBUILDER INTERVIEW QUESTION AND ANSWERS - 03

Power Builder Interview Question and Answers:

6.     What are the ways to close your application?
      HALT, HALT CLOSE, CLOSE

7.     What is HALT? HALT CLOSE? What is the difference between them?
      HALT :
Halt statement forces the application to terminate immediately. This is most often used to shut down the application after a serious error occurred.

HALT CLOSE :
Halt Close does the same thing but triggers the application object’s Close event before terminating. 

8.     How do you avoid Message Box “Application is already running”?
      Use Handle() function. Handle() returns the object’s name if the object exists.

9.     What do you mean Structures and types?
      A structure is a collection of one or more related variable of the same or different data types grouped under a single name.

Global:
Not associated with any objects.

Object Level:
Associated with particular types of windows, menu or user object.

10.     What are the two structures every application has?
      Every Power Builder application has the Message Object and the Error Object. Error Object is used to report errors during execution. Message Object to process messages that are not Power Builder-defined events, and pass parameters between windows.

No comments:

Post a Comment