You can assign keyboard shortcuts to controls so users can navigate the front panel window without a mouse. You can assign modifiers, such as the <Shift> and <Ctrl> keys, to some shortcut keys. You cannot assign the same key combination to more than one control.
LabVIEW does not respond to keyboard shortcuts for hidden controls.
Complete the following steps to set key navigation for a control and to set a control so it is not included when the user tabs from control to control while running the VI.
Note The Advanced»Key Navigation shortcut menu item is dimmed for indicators because you cannot enter data in an indicator. |
Note (macOS) Keyboard shortcuts for the function keys work only if the function keys are not assigned as shortcut keys for Exposé. LabVIEW does not support <VolumeUp>, <VolumeDown>, and function keys <F15> to <F24> as shortcut keys on macOS. |
Note You also can use the Key Down event to generate an event when the user presses a specific key on the keyboard. |
You can assign keyboard shortcuts to toggle Boolean controls using the Toggle section in the Key Navigation page, or to increment and decrement Numeric, Slide, Knob, Ring, and Enum controls using the Increment and Decrement sections in the Key Navigation page. The Toggle section is available only for Boolean controls, and the Increment and Decrement sections are available only for Numeric, Slide, Knob, Ring, and Enum controls.
You also can use the Control properties to assign keyboard shortcuts to controls and set tabbing behavior programmatically.