LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree Control Item Addition Order Issue

Solved!
Go to solution

Attached is a VI that I want to simply add 6 parents, each with 5 children who each have 8 grandchildren to a tree control programmatically.  It adds these to the tree, but they are scattered and the order is not obvious to me.  Can anybody help me here?

0 Kudos
Message 1 of 3
(2,617 Views)
Solution
Accepted by topic author id

The "Add Item To End" method for building the tree seems to work for what you want.  The "Add Item Indent" is hard wired to the Parent, Child and Grandchild.

 

See attached VI

 

Hope this helps.

 

0 Kudos
Message 2 of 3
(2,604 Views)

That was perfect. ThanksSmiley Happy

0 Kudos
Message 3 of 3
(2,597 Views)