From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get parent of child in tree control method not working properly

I simply want to get the parent tag of the selection in the tree control.  The get parent method doesnt work for my case.  Anyone have a clue as to why? 

0 Kudos
Message 1 of 3
(2,268 Views)

Change Active Item:Tag -> Value

Cheers!

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

That recommendation above put me on the right path to determine what in more detail the problem was.  If the tree control is a strict type def, this method does not work.  As soon as I disconnect the tree control from its typedef defn, it works...See attached.

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