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

Setting Expand/Contract Symbols in Tree Controls

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Complete the following steps to set the type of symbol to display next to each item that has other items indented under it. You can use the expand/contract symbols to open and close parent items in the tree.

  1. Right-click a tree control.
  2. Select Expand/Contract Symbol Type and select one of the following items from the shortcut menu:
    • None—Displays no symbols.
    • LabVIEW—Displays platform-independent triangle symbols.
    • Mac OS X—Displays Mac OS X-style triangle symbols.
    • Windows—Displays Windows-style plus and minus symbols.
    • Default—Displays the default symbols for the operating system.

You also can use the Expand/Contract Symbol:Symbol Type property to set programmatically the type of symbol to display next to each parent item.

Right-click a tree control and select Expand/Contract Symbol Type»Show at Indent Level 0 from the shortcut menu to show or hide the expand/contract symbols for items at the highest level of the hierarchy. If you remove the checkmark next to this option, you can still expand or collapse an item at indent level 0 by double-clicking the item. To disable the double-clicking functionality, wire a True constant to the Discard? parameter of the Item Close? event.

You also can use the Expand/Contract Symbol:Show Symbol at Root property to show or hide the symbols programmatically.


 

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