Creating Top-Level Menus in Visual Basic

From Techotopia
Revision as of 19:14, 23 July 2007 by Neil (Talk | contribs)

Jump to: navigation, search

Despite Microsoft's move towards so called Ribbon based navigation, every other application still relies on menus to provide an easy way for users to navigate around a user interface. In fact, the jury is still out on whether Ribbon style interfaces of the type found in Microsoft Office 2007 are actually easier to use than menus.

Since it is almost impossible creat an application without needing a menu of some sort, this chapter is dedicated entirely to the topic of creating both top-level and context menus in Visual Basic. As you will see as we work through this topic, Visual Basic combined with Visual Studio make the creation of menus extremely easy.

Creating a Top-Level Menu

Top-level menus (the type of menus that run across the top of forms) are created using the Menu Strip control.