We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Context Menu Keyboard Shortcuts - MDI Forms

mitchvincent
mitchvincent asked
on
Medium Priority
429 Views
Last Modified: 2012-06-27
Is it possible to assign shortcut keys to context menus in an MDI application? Is KeyPreview needed?

I've tried without success to get this to work so I'm turning to EE!

Thanks!
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008
Commented:
When you define the ContextMenu, there should be a ShortCut property for each menu item.

Bob

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Right, I've assigned that and when I press the shortcut key - nothing happens. The menu items does do something when I click it, just not when I use the shortcut key
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008

Commented:
Interesting thought.  I have never wanted nor needed shortcut keys for context menus, so I didn't know that they didn't work.  I haven't been able to find a workaround, but you might be able to by previewing the key at the form level, and then checking if the context menu is visible.

Bob

Author

Commented:
Thanks Bob!

It turns out they were never meant to do that. It's OK, as I'm really trying to add a shortcut key to a Skybound Rebar Toolbar (Skybound is the company). I'll award you the points as the guys at Skybound are writing in a workaround for me as we speak.

Thanks much!
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.