Use the following ways to select items in a listbox or tree control while a VI is in run mode:
- Click an item. In a multiple-selection listbox or tree control, press the <Ctrl> key and click additional items to select more than one item. (Mac OS X) Press the <Command> key. (Linux) Press the <Alt> key.
Press the <Shift> key and click an item above or below the current item to select all items between the current item and the second item you selected.
||Note By default, LabVIEW limits the interactive selection of multiple items in a tree control to items that share the same parent. To allow the selection of items with different parents, right-click the tree control and remove the checkmark from the Selection Mode»Limit Multiselect to Siblings item in the shortcut menu.
- Click an item, then press and hold the <Ctrl> key and use the up and down arrow keys to navigate through listbox or tree control items. (Mac OS X) Press the <Command> key. (Linux) Press the <Alt> key. Press the spacebar to add an item with focus to the list of selected items. While still holding the <Ctrl> key, press the spacebar again to remove the item with focus from the list of selected items.
- Type part of the name of the item you want to select. Use the left and right arrow keys to go to the previous or next items that match the characters you type.
In a listbox or tree control with a selection mode that allows you to select 0 items, press the <Ctrl> key and click an item to deselect it. (Mac OS X) Press the <Command> key. (Linux) Press the <Alt> key.
Note If you assign <PageUp>, <PageDown>, <Home>, or <End> as a shortcut key in the Key Navigation page of the Properties dialog box for a control, you no longer can use that key to select items in a listbox.