csa computer4 lesson5a

50 %
50 %
Information about csa computer4 lesson5a
Education
l e

Published on August 12, 2008

Author: sdreyes102877

Source: authorstream.com

L e s s o n 5 MENUS 5A - Menu Editor : L e s s o n 5 MENUS 5A - Menu Editor Lecture [07/30, 2008] Objectives: Explain the functions of the Menu Editor intelligently. Participate actively in the discussion by giving personal idea on the topic being presented. Connect Menus and Menu bar in VB application. Slide 2: Menu Editor is a dialog box that you access from the Form window by pressing Ctrl+E or by selecting Tools | Menu Editor from Visual Basic's own menu bar. Figure 1 shows the Menu Editor dialog box. Figure 1 Menu Structures appears here as you build the Menu Adding Menus to an Application using the Menu Editor : Adding Menus to an Application using the Menu Editor Figure 2 The Menu Editor main function is to attach a MENU BAR (pull down menu) to any simple application. Menu Samples: File, Edit, View, Help… Figure 3 NAMING MENU BAR COMMANDS/OPTIONS : NAMING MENU BAR COMMANDS/OPTIONS Generally, Visual Basic programmers follow the standard of naming menu bar options with the prefix mnu followed by the name of the item. Therefore, the File option is named mnuFile, Edit is named mnuEdit, and so on. Figure 4 Other Functions: : Other Functions: Figure 5 adding separator bars (bars that help group menu options using the symbol hyphen ( - ) submenus (menus that appear from other menu options) checked items, and shortcut access keystrokes.  Slide 6: Figure 7 Menu Editor creates your menu, but you still need to write event procedures (codes) that bind menu command selections to actions taken by your application. Note: The only event that menu item supports is the Click() event. Figure 6 Sample Program: NOTE EDITOR : Sample Program: NOTE EDITOR

Add a comment

Related presentations