Hello,
how can I setup a shortcut for MAIN pulldown menu?
For its items I can use "&" but if I use it on main pulldown (menu like FILE, EDIT, VIEW, etc...) symbol "&" has no effect.
One thing more: generally speaking, what's the best technique in RunRev to manage functions shortcut (e.g. CTRL-D to delete something, ALT-X to exit, etc....)
I want these shortcuts work even if a button has the focus, or if a field has focus, etc...
Thank you for your help!
Shortcuts for pulldown menu and other things
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
You should have a look up in the docs for acceleratorKey, acceleratorModifiers and acceleratorText as well as - I feel you're looking for a Windows specific solution here, the mnemonic of a button.
To catch certain key combinations you will probably need to think carefully about where you want to intercept them in the message path and quite possibly put a rawkeyDown handler in the card or stack script, if not a frontscript. If the key combinations are appropriate for the situation then you can handle what is needed, otherwise pass the rawkeyDown message to be taken care of as normal (eg typing a letter in a field). It's hard to be more specific.
To catch certain key combinations you will probably need to think carefully about where you want to intercept them in the message path and quite possibly put a rawkeyDown handler in the card or stack script, if not a frontscript. If the key combinations are appropriate for the situation then you can handle what is needed, otherwise pass the rawkeyDown message to be taken care of as normal (eg typing a letter in a field). It's hard to be more specific.