Рет қаралды 580
LabVIEW - Indenting Tree Control Items
Follow these steps to move an item higher or lower in the tree control hierarchy.
Right-click an item in the tree control.
We can select one of the following options from the shortcut menu:
Indent Item - Indents the item one level lower in the hierarchy. If the item already appears indented below the item directly above it, we cannot indent it. We can indent the current item, using the Operating tool, by pressing the period (.) key.
Outdent Item - Moves the item one level higher in the hierarchy. If the item already appears at the highest level in the hierarchy, we cannot outdent the item. We can move the current item one level higher, using the Operating tool, by pressing the comma (,) key.
If we want to configure an item so we cannot indent other items under it, right-click the item and select Child-Only Item from the shortcut menu. If we drag another item under a child-only item, LabVIEW places the item at the same hierarchical level as the child-only item. This menu item is not available if we right-click an item that has other items indented under it. We can also use the Active Item:Child-Only? property to configure an item so we cannot indent other items under it programmatically.
We can also use the Active Item:Indent Level property to set the indent level of an item in a tree control programmatically.
Watch the entire LabVIEW tutorial series here;
• NI LabVIEW - How to Us...
Watch the entire TestStand video learning series here;
• NI TestStand Documenta...
Get more LabVIEW Tutorials for free!!!
bit.ly/Free-Lab...
#labview #labviewtutorial #labviewListboxesTablesTreeControls