LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Top level menu shortcut doesn't work

I need to have my application work without a mouse. Therefore I need to be able to access the contents of my drop down menus using shortcut keys. The shortcuts to the entries on the menu work just fine. However the shortcut to the top level menu name does not. For example, if I have created a File menu and under that I have Open and Close, the Open and Close shortcuts work. However the shortcut to File does not. I would have expected that the shortcut to File would have just made the mene drop down and then allow me to use the arrow keys to select the items on that menu. How can I make it operate like that? Thanks!
0 Kudos
Message 1 of 3
(2,648 Views)
What keys are you pressing for the top level names? Just like other windows programs, they respond with the alt key combination. For example, the file menu will open with alt F. If you create new top level entries, you assign the alt key to a character in the Item Name entry by placing an underscore ("_") character before the letter. For example, if you have a top level menu you want to name "Custom", enter "C_ustom" as the Item Name and alt u will activate that menu.
0 Kudos
Message 2 of 3
(2,648 Views)
> I need to have my application work without a mouse. Therefore I need
> to be able to access the contents of my drop down menus using shortcut
> keys. The shortcuts to the entries on the menu work just fine. However
> the shortcut to the top level menu name does not. For example, if I
> have created a File menu and under that I have Open and Close, the
> Open and Close shortcuts work. However the shortcut to File does not.
> I would have expected that the shortcut to File would have just made
> the mene drop down and then allow me to use the arrow keys to select
> the items on that menu. How can I make it operate like that? Thanks!

The windows menu key will extend the file menu just fine, and if you
have added _ navigation characters to your menus, you can d
o the Alt-F-?
or whatever to shortcut your menus. If you are talking about Ctl-F to
open the File menu, I've never seen that in any apps, and don't think LV
supports it.

Greg McKaskle
0 Kudos
Message 3 of 3
(2,648 Views)