Chapter 4: Working with Menus and Toolbars


OVERVIEW

In this chapter, you will learn how to enhance your Visual Basic applications by adding professional looking menus and toolbars. You will learn how to create menus and populate them with menu items. You will also learn how to create submenus and execute program code when users click on menu items. This chapter will show you how to make your menu systems easier to work with by adding shortcuts and access keys. You will also learn how to enable and disable menu items as well as how to make them appear and disappear. In addition to all this, this chapter will show you how to create context menus for specific controls and how to provide easy access to your application's most commonly used commands using toolbars. Finally, you will get the chance to get some hands-on experience with menus through the completion of this chapter's game project, the Lottery Assistant game.

Specifically, you will learn how to:

  • Add a menu system to your application

  • Add shortcuts and access keys to menu items

  • Control when users can access menu items

  • Create context menus for individual controls

  • Add toolbars to your applications




Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
ISBN: 1592008143
EAN: 2147483647
Year: 2006
Pages: 126

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net