Changes

Jump to: navigation, search

Creating Top-Level Menus in Visual Basic

101 bytes added, 14:44, 24 July 2007
Creating a Top-Level Menu
The last task in creating our top-level menu is to add a ''Checked'' menu item. A checked menu item maintains state of being either set or unset. When a Checked item is set, a check mark appears and when they are unset the check mark disappears.
To created a ''Checked'' item in the menu enter ''Save on Exit'' in the ''Type Here'' field and then right click on the item to display the popup menu. From the menu, select ''Checked''. The menu item will now be displayed with a check mark next to it. In the property panel for the checked menu item, change the ''Name'' property to ''SaveOnExitMenu''.
The menu is now ready to be tested. Press the '''F5'' key to build and run the application. When it appears, click on the File and Edit menus to confirm that they appear as you intended.

Navigation menu