Wednesday, July 21, 2010

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.







Recommended links:



convert flac to Mp3



Chrome OS Is Outdated? Look Jolicloud!



ts format



X-Cloner DVD to 3GP



On The Sasser Worm Pleaded Guilty To 19-year-old Faces 5 Years To Prison



how to convert avi to wmv



Risk leaving the confused



My favorite Dictionaries Education



Digital Audio Converter



SecondLife MPEG to DVD Converter



Deloitte CEO responded that the first time Kelon matter is a "collusion"



Games Board introduction



Bliss CDA Music APE to M4P Editor



Simple Site Administration



aac to mp3 CONVERTER



9 comments:

  1. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
    Thank You
    PowerBuilder

    ReplyDelete
  2. Magnificent beat ! I would like to apprentice whilst you amend your website, how could i subscribe for a weblog web site?
    The account aided me a applicable deal. I have been
    a little bit familiar of this your broadcast offered brilliant clear idea

    My website; the ex factor guide

    ReplyDelete
  3. I loved as much as you will receive carried out
    right here. The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get got an edginess over that you wish be delivering
    the following. unwell unquestionably come
    further formerly again as exactly the same nearly a lot often inside case you shield this increase.


    Here is my blog casinoguiden

    ReplyDelete
  4. This site was... how do you say it? Relevant!!

    Finally I have found something that helped me.
    Kudos!

    Here is my web page get legal cocaine

    ReplyDelete
  5. I have fun with, lead to I discovered just what
    I used to be taking a look for. You have ended my 4 day
    long hunt! God Bless you man. Have a great day. Bye

    Feel free to visit my web site - Evo Memory review (http://fotomorg.com/profile/isfinnis)

    ReplyDelete
  6. You really make it seem so easy with your presentation but I find this topic
    to be actually something that I think I would never understand.
    It seems too complex and extremely broad for me. I am looking forward for your next post,
    I'll try to get the hang of it!

    Visit my homepage - How To Jump Higher Fast

    ReplyDelete
  7. Hi! I'm at work surfing around your blog from my new iphone 3gs!
    Just wanted to say I love reading your blog and look forward
    to all your posts! Carry on the superb work!

    Feel free to visit my webpage ... Clash of Clans Hack No Survey (xdomain.jp)

    ReplyDelete