LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
TroyK

Ability to add keyboard shortcuts to custom right-click context menus

Status: New

When customizing application menus you can add an underscore "_" before a letter in the menu item name and it appears with an underline and is activated when you press that key.

E.g. Item name "_Edit" appears as Edit, and if you press 'e' on the keyboard it fires the shortcut menu selection event for edit.

 

However this is not the case for custom right-click context menus.

 

If you try it with a right-click menu _Edit displays as _Edit and pressing 'e' on the keyboard does nothing.

 

IDEA: Customizing the right-click context menu should function the same as customizing the application menu.

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
11 Comments
wiebe@CARYA
Knight of NI

>I've never used these, but they seem hard to use if you have to keep switching hands on the keyboard. Am I right in that perception?

 

I've turned on Windows sticky keys. That allows you to press CTRL release it, then press the key. Even CTRL, then Shift, then the key. Also works for CTRL+SHIFT+drag to shrink.

 

Convenient when I have a "cat arm"...