Mnemonics and Shortcuts
Mnemonics are used in conjunction with menus to provide better keyboard support with your application. If a user tends to use the keyboard as opposed to the mouse for navigating the user interface, mnemonics allow the user to quickly select a menu item on a menu using the mnemonic key associated with the desired menu item.
The first mnemonic key is pressed together with the Alt key to show a sub menu from the main menu. Then, the subsequent mnemonic keys can be pressed with or without using the Alt key to select a menu item on the sub menu.
You define what the single key is for a menu item by defining the mnemonic character for the menu item. This is done by using the ampersand (&) character within the text of the menu ...
Get Visual Basic® .NET by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.