Michael Malak Posted April 10, 2009 Report Share Posted April 10, 2009 You guys did such a great job answering my first question http://forums.lavag.org/Newbie-Q-Writing-t...ols-t13762.html now on to the second. Is there a way to define ALT-key keyboard shortcuts on drop-down menus? E.g., have the "F" in "File" underlined and where the File menu drops down when the user presses ALT-F? The "shortcut" field in the Run-Time Menu editor seems to be for CTRL-style keyboard accelerators (e.g. "CTRL-C" for Edit->Copy). And the run-time Insert Menu Item VI doesn't seem to allow either style of keyboard shortcuts to be defined. Quote Link to comment
crossrulz Posted April 10, 2009 Report Share Posted April 10, 2009 I admit that I had to dig through my Intermediate I book for this. Couldn't find it in the book, but it sort of came back to me. When creating your run-time menu, put in an underscore before the letter that you want to be the "shortcut". See below. In this case, if I hit "Alt+B" and then "x", my custom "exit" menu will trigger an event. Please notice that even if I didn't have my exit under "blah", the "Alt+B" would not trigger an event. I had to actually click on it to trigger an event. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.