|
-
Jan 3rd, 2007, 12:48 AM
#1
Thread Starter
Hyperactive Member
file menu or menu strip
how can i set the short cut keys in file menu or menu strip?
in vb6 there is menu editor.
tnx
-
Jan 3rd, 2007, 02:42 AM
#2
Re: file menu or menu strip
Menu items have access keys and shortcut keys. Access keys are the characters that get underlined in the text of the control and activate the menu item by pressing that character key in combination with the Alt key. I'm guessing that that's not what you are talking about.
Shortcut keys are something similar but not the same. A menu item has a ShortcutKeys property that you can set like any other property in the Properties window. Add your MenuStrip or ContextMenuStrip to your form, enter the Text for the menu item(s), then set the ShortcutKeys property in the Properties window.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|