UI Interest Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree Force Show Item

I have a set of tree controls that can be interacted with.  I have some methods of pasting stuff which adds a row to the tree, but the method I was using was to delete the whole tree, then make the tree all over again.  There are obviously better ways to do this, but one issue with it, is that the tree will scroll all the way to the top, but the newly pasted item will be selected.  This wasn't a great user experience so I made something real quick that will scroll a tree and show a selected item.  It's just a quick demo and can be improved, but I thought I'd share it in case others find it useful. Just keep running the VI and it will show and select a random item in the tree.

0 Kudos
Message 1 of 1
(881 Views)