LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I disable generally shortcuts ?

Hi, I would like to disable the shorcut of different controls in the uir... is there a simple way to do it ? Actually I check the key-event of the panel to disable unwandet shortcuts.

Thanks
0 Kudos
Message 1 of 2
(2,596 Views)
Hello

If you have the ability to edit the UIR file, you can change the control label to exclude the "__" (double underscores that would prefix the name . So for a control labeled as __File, delete the underscores from the front of the name. Also, you can set the Shortcut key property of the control to assign it's Modifier Key to "None" and Key setting as " No Shortcut Key".

If you also want to disable the control so that the user cannot use tab to get to it, change its control mode to "Indicator". Indicators are not in the tab order. If you need Hot controls that are not in the tab order you will have to code it yourself using the EVENT_GOT_FOCUS.


I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,596 Views)