LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree control in LV7 - how do I retrieve Child Text?

I can store multiple columns of data with each item using "Edit Tree items: Add data" but there seems to be no method to retrieve it.
Anyone has run into this problem?
Thanks
0 Kudos
Message 1 of 6
(3,881 Views)
Hello,

I was working with the tree control, and it seems that if you do not specify a tag, the tag is automatically set to be the same as the text. Therefore, when you use the "Get Child" or "Get Parent" or similar function to retrieve the tag, it retrieves the text. Does this work for you?

Hope this helps!

Liz Fausak
0 Kudos
Message 2 of 6
(3,881 Views)
Thanks Liz. No, thats not what I was interested in. I was looking for a way of retrieving item text in other than first column.
I found a solution in a mean time.
0 Kudos
Message 3 of 6
(3,881 Views)
You can do this by writing the item's tag to the ActiveItemTag property, the column number you're intersted in to the ActiveColNum property and reading the Cell String Property.

Mike....

PS: If anybody at NI is listening, that interface really, really, REALLY needs to get rewritten...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 4 of 6
(3,881 Views)
What I would also like to know is what happened to the great documentation that NI was doing back in the LV4 and LV5 days

Cant find function documentation for your life.
0 Kudos
Message 5 of 6
(3,881 Views)
> What I would also like to know is what happened to the great
> documentation that NI was doing back in the LV4 and LV5 days
>
> Cant find function documentation for your life.

It's all on your computer now (assuming it was installed). Try
control-shift-? and then click on "VI and Function Reference" under the
Contents tab.
0 Kudos
Message 6 of 6
(3,881 Views)