LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree Control Highlighting Programmatically Selected Item

Does anyone know whether it is possible to highlight a programmatically selected item in the LV Tree Control, eg I have used the "Get Child" method to select an item - how do I then highlight this item on the tree?
0 Kudos
Message 1 of 3
(3,249 Views)
Yes, you can write the value to a local variable for the tree control. This will have the effect of selecting the item--which will highlight just ike the user clicked on it.

By the way, "Get Child" doesn't select an item in any sort of useful sense--it just tells you what the child is. Actually, it tells you what the first child under the indicated Parent is.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

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

For help with grief and grieving.
0 Kudos
Message 2 of 3
(3,249 Views)
Thanks Mike - I am half asleep as it makes sense that since you get the selected item tag directly from the control you would write a tag to the control to programatically select an item.

Wayne
0 Kudos
Message 3 of 3
(3,249 Views)