Question Help with Shortcut keys

J. Scott Elblein

Well-known member
Joined
Dec 14, 2006
Messages
166
Location
Chicago
Programming Experience
10+
I am trying to add shortcut keys to my menu items.

I add the shortcut to the shortcut key property of the item, and the shortcut will work when the menu item is expanded, however as soon as it is no longer expanded, the keys no longer work. Is the only way to make them work would be to set the form to Keypreview and then use the keypress events?
 
I can't think of a particular reason right now, perhaps there is a conflict with something? My menu shortcuts works when menu is not expanded, after all that it is how shortcuts is designed to work. Is there a way for you to provide more information so other people can repro your problem?
 
Back
Top