PowerBuilder window type
Chapter VI of the window and controls
The application window is the main interface with the user interaction. Use it to display system information in response to the user's mouse and keyboard input and so on. In this section we will use the PowerBuilder application template feature to create an application, use this procedure to introduce the concept and operation of the window.
First, we use System template feature to create an application:
NEW FILE menu click menu item SELECT NEW APPLICATION LIBRARY system pop-up dialog box to select an object library, here in the D: DATABASE directory create a new object called the SAMPLE database, then click “Save” button ,
SAVE APPLICATION in the next dialog box similar to the new application object named SAMPLE, and then click the OK button OK
System pop-up dialog box asking if you need to create application templates, where “Yes”, then the system started for us to generate a multi-document interface application, APPLICATION drawing board is automatically displayed to help us create a good number of objects (Figure 6 -1). The icon can be seen from the object of these objects are windows and menus, then on to the window where the window object example to introduce the concepts and operations.
Figure 6-1
PowerBuilder provides six different types of windows, and they have varied, the following instructions were:
The first to introduce the MAIN type of window, its characteristics is not dependent on any other window, can exist independently, an application can have more than one MAIN window, you can when needed in the program with the OPEN function to open any of them. In addition, the window can be placed in the MAIN various controls required. Click POWERBAR WINDOW toolbar button, select the W-GENAPP-SHEET window and click the OK button to determine the operation done, and then drawing board in the WINDOW object in the window right-click pop-up menu select PROPERTIES menu item, the pop-up dialog box Note WINDOW WINDOW TYPE column, you can find W-GENAPP-SHEET window is the MAIN type, in which you can put all kinds of control.
The second type of window is POPUP type, which usually features a script from the other window, open it using OPEN function, this type of window opens automatically open the script window with child windows. POPUP the type of window can be displayed on the outside of the parent window, but can not be covered by the parent window, when the parent window is minimized or closed, it also minimize or close accordingly.
A third type of window is CHILD type, which is characterized by usually from the main window or pop-up window script, using OPEN function to open it, it can move the parent window, but not out of the main window's work area , and when the parent window when moving, CHILD window has moved.
The fourth type of window is RESPONSE type, it is a model window, that is, when this type of window is opened, the input focus switches to this window, the user only in the operation and close this window This window can use the program after the other windows. SAMPLE earlier applications, W-GENAPP-ABOUT and W-GENAPP-TOOLBARS window is RESPONSE types of windows.
Fifth type of window is MDI FRAME type is characterized by the window in this type generally do not put the control, but to this type of window as a container for other types of windows, use this type of window can realize multi-document interface, in containers each window to display a document. In our program, the W-GENAPP-FRAME window is an MDI FRAME types of windows. Click the RUN button on the toolbar POWERBAR run the application, the application is running, click the NEW button on the toolbar, then select the WINDOW menu T99vLE VERTICAL menu item, you can see the main window showing the work area several windows, these windows can be used to display a different document (Figure 6-2)
Figure 6-2
The sixth type of window is the MDI FRAME W99vH MICROHELP, this type of window and on a basic, like, the only difference with this work area below the window with a status bar, use the status bar displays some operations message. In fact just the window W-GENAPP-FRAME is this type.
Recommand Link:

Young men make great mistakes in life; for one thing, they idealize love too much.
Comment by Jordan retro 2 — November 6, 2010 @ 9:03 am
What is failure? Failure is the first step to reach a better position.
Comment by coach outlet — January 13, 2011 @ 1:31 am
This would be interesting to see. It is really amazing that is still being run when they are accused of such weighty charges. It is even more amazing that they are given more contracts after the fact too.
Comment by Coach Outlet Store Online — June 21, 2011 @ 2:41 am
It is even more amazing that they are given more contracts after the fact too.
Comment by Burberry Outlet — September 14, 2011 @ 7:58 am
Cheap Timberland Boots
Comment by Cheap Timberland Boots — November 4, 2011 @ 8:36 am
thanks for sharing
Comment by Hermes Replica — January 14, 2012 @ 3:38 am
There is no doubt that the ever growing cult of celebrity in both the UK and here in the US has led to more people wanting to own designer shoes
Comment by christian louboutin discount — February 25, 2012 @ 7:26 am
555yxj
Recently increased originating from obscurity which will pops up nation’s polls along with Romney.
Comment by Lebron 9 Shoes — April 21, 2012 @ 3:56 am
8888HSP Andrew Young was once much more than an aide to John Edwards. Young spent long hours driving to and from political events with the two-time Democratic presidential candidate.
Related John Edwards » Elizabeth Edwards » Rielle Hunter » ‘John Edwards is a man who has committed many sins, but no crimes,’ his lawyer …Globe and MailJohn Edwards case: Incredible vs. unbelievablePoliticoFrom North Carolina:Edwards Case Starts with Opening ArgumentsSouthern Pines PilotOpinion:John Edwards goes to trialPhiladelphia InquirerSee all 741 sources »
Comment by Air Max 90 — April 25, 2012 @ 2:53 am