Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removeing all nodes from a TreeView.
Message
From
25/10/2000 13:33:46
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00252082
Message ID:
00434180
Views:
17
>I have been using the treeview.nodes.clear() method and am having performance issues. A treeview with about 300 items loads less than half a second on all machines, but issuing the clear() call takes about 2.5 seconds on my development machine and up to 2 minutes on some of the client machines. I can't imagine how populating a treeview can be so much faster than clearing it.
>
>Is there a workaround or advice on how to improve the performance? The machines are somewhat similar in hardware and speed.
>
>Troy

Set the TreeView.Visible = .F. first.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform