LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tree control

Hi,

I am new to using the labview tree control. I would like to create a tree control with a string and some numbers nested below the string as shown below:

+ string
       1
       2
       3
       4
+string 2
       1
       2
       3
       4

Can anyone please give an example of how this is done.

Thank you,

-Tim
0 Kudos
Message 1 of 2
(3,366 Views)
You can use the Edit Tree Items Method of the tree object to populate your tree with multiple parent and child objects. See the help for the Edit Tree Items in LabVIEW Context Help to see what the different fields in the cluster are used for. Here's an example:





The array of clusters could easily be populated from a file, database, etc.

Message Edited by Bill@NGC on 08-01-2007 11:31 PM

Message 2 of 2
(3,343 Views)