Chapter VII of the menus, toolbars and status bar
Application menu is an important means of dealing with customers, a good application should interact as much as possible through the menu. It can also be toolbar buttons and menu commands associated with them, more convenient and efficient implementation of the menu above command. Status bar generally appears in the bottom of the window, prompt the user to use the program's methods, and some of the current system state. This chapter will be presented about how to create and use menus, toolbars and status bar of the relevant knowledge.
7.1 Creating the menu
To introduce the menu of the operation, first introduced under the previous process of creating a new application object MENU-SAMPLE.
In PowerBuilder, the menu for each menu item is an object, each menu item can also have child objects, then on to create a new menu.
Click the MENU button on the toolbar POWERBAR, the system dialog box pops up SELECT MENU, choose from the menu to open an existing object.
Click the NEW button to create a new menu object. System used to define the pop-up menu MENU drawing board (Figure 7-1), drawing board in the MENU BAR 99vEMS MENU column enter the first menu item entitled FILE, can be found at the drawing board to the right column system MENU 99vEM NAME automatically enter the FILE menu to the object just named the M-FILE.
Figure 7-1
Note MENU drawing board in the "MENU FOR:" section, where you can define the object currently selected menu, FILE menu here is the object of a sub menu item. Here may wish to enter a sub-menu item EX99v, for the FILE menu on the definition of the sub-menu item,
Next, click the MENU canvas upper right side of the horizontal scroll bar arrows, began to define a second main course individual, may wish to enter the menu item's name to OPERATE, OPERATE menu, and then define the first sub-menu item set to BEEP.
Click the TAB key on the keyboard, the system pops up a new column OPERATE menu item used to define the second sub menu item, enter here the name of the second sub menu items for the COLOR,
Click NEXT LEVEL PAINTERBAR toolbar button, we can define its COLOR cascading menu item menu item menu item here is the so-called cascade COLOR menu item click the menu item will pop up the right side of the sub-menu menu item. Enter in MENU FOR COLOR menu item of a first cascade menu item to BULE.
Press TAB key, then enter the second cascade menu item for the WH99vE, then a similar way to enter the third cascade menu item is YELLOW.
The definition of the dishes in the individual, then click SAVE PAINTERBAR toolbar button, pop-up dialog box to save SAVE MENU designed menu object, There is no harm to the menu named MYMENU, and then click the OK button, so that good on their menu to create the object.
The menu of some of the basic operations, such as Insert menu item, delete menu items, menu items such move of more simple, is not presented here.
Recommended links:
Some knowledge OF JSP syntax
avi to Mp4
Using Photoshop Background Eraser Easy Matting
Professional DVD to FLV
Expert Math And Scientific Tools
Christmasgift Mobile CONVERTER
Best E-Commerce
Who hindered knowledge sharing?
Flv to 3gp converter free download
Ever CDA MP2 DVD-Audio to CD-R Ripper
Comment Recreation
WorldCup DVD Editor
China's environmental satellite data
.ts Files
Adventure And Roleplay Reviews
Youtube FLV To 3G2 Products
M4v
Excellent about this post . thanks for sharing your views on PowerBuilder
ReplyDelete