LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to make the keyboards numerical keys shortcuts for buttons.

I want to make the keyboards numerical keys shortcuts for buttons, without a modifier key is this possible ? e.g. press '1' on the keyboard button 1 is pressed on the GUI.
0 Kudos
Message 1 of 2
(2,826 Views)
The number keys are not valid hot keys for our controls. The easiest workaround would be to use fhe F keys instead (F1 for button 1, etc.) However, if you are set on the number keys you could implement this with a panel callback. You could have a panel callback that monitors all keypress events and then, depending on the key pressed, calls the code that would be called with a button press of the button for that key.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 2
(2,826 Views)