How can I add functional keyboard shortcuts to menu items?
ex: New Project Ctrl + N
Printable View
How can I add functional keyboard shortcuts to menu items?
ex: New Project Ctrl + N
The way I have always done it is to use the ampersand in the name.
for example .Text = &New gives New and Ctrl+N is the keyboard shortcut.
Is that what you are after?
Yes it is. That seemed to work, thank you.
Also, to assign shortcuts to menustripitems, there is a ShortCutKey property. You can set it in design time or in code.