LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree Control ActiveX: adding multiple elements at once?

Hello:
I am using a Tree Control to display hierarchical information data. However, adding 1000 lines to the tree control one at a time takes for ever (1-2 min). Is there any way to add multiple elements to a tree all at once? As an alternative are there other active X that would do a better job? If I stick to the Tree Control, how can I detect which '+' (expand sign) the user is clicking so that I could only add the items that are childs of the clicked item and not by default the whole possible structure?
Thanks a lot,
Christophe
0 Kudos
Message 1 of 3
(2,660 Views)

Seen this recently. I think this thread http://forums.ni.com/ni/board/message?board.id=170&message.id=179859&query.id=121667#M179859

has some suggestions on how to speed filling up the tree control

hope this helps

David

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

Thanks for your answer. Unfortunately I am stuck to Labview 7.1 for other reasons and the defer front panel updates only improves my numbers by a 30% which is not enough as already mentioned by the post you refer to. Sadly enough the 'add multiple items' method is not available for the same string control in Labview 7.1. Maybe I should investigate further in the Active X area...

Christophe

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