|
-
Feb 10th, 2008, 01:36 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [2005] Shortcut keys
I have a panel apart from the menu strip on my MDI parent form which has several buttons like new, edit, delete, save , close etc... how can i assign shortcut keys to it ?
-
Feb 10th, 2008, 01:52 AM
#2
Addicted Member
Re: [2005] Shortcut keys
There is SendKeys.Send({shortcut key}) method.
You can find more here.
http://msdn2.microsoft.com/en-us/lib...keys.send.aspx
-
Feb 10th, 2008, 01:56 AM
#3
Re: [2005] Shortcut keys
First up, I'm not sure that a panel with Buttons is the appropriate option. Wouldn't a ToolStrip be a better option?
That said, with Buttons you would normally include an ampersand in the Text and the following letter will be the access key, just like with menu items. You "click" the Button by pressing that letter's key along with the Alt key.
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
|