LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does LV(8.0.1) still track the keyboard shortcuts of disabled menu items?

Hello all,
when I disable a (super-) menu item, the submenu-items are grayed out as expected. But they still accept their keyboard- shortcuts. Is this a bug in LV? If I explicitly disable the submenu- items, all works fine, but the simple method would be nicer and comprehensibly.
I made a VI to illustrate.
Greets, Dave

Message Edited by daveTW on 05-11-2006 01:56 PM

Greets, Dave
Message 1 of 2
(2,807 Views)
Hi Dave,

it seems a bit strange but at the end it is a absolutely correct behaviour. If you deactivate a menu item than all sub-menu items are deactivated in the menu bar. But that is only a feature of the menu bar. To disable the short cut you have to deactivate the sub-menu item itself. In you zip-file the <STRG - C> is deactivated but the <STRG - V> still works. That depends on the settings in your test3.vi where you defined the items to be disabled. If you add "Paste" to the array of items or if you disable all items then the shortcuts will be disabled as well.

Best regards,

Carsten Sprung
Application Engineer
National Instruments Germany
0 Kudos
Message 2 of 2
(2,784 Views)