Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Indenting Tree Control Items

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Complete the following steps to move an item higher or lower in the tree control hierarchy.

  1. Right-click an item in the tree control.
  2. 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, you cannot indent it. You 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, you cannot outdent the item. You can move the current item one level higher, using the Operating tool, by pressing the comma (,) key.

If you want to configure an item so you cannot indent other items under it, right-click the item and select Child-Only Item from the shortcut menu. If you 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 you right-click an item that has other items indented under it. You also can use the Active Item:Child-Only? property to configure an item so you cannot indent other items under it programmatically.

You also can use the Active Item:Indent Level property to set the indent level of an item in a tree control programmatically.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit