Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removeing all nodes from a TreeView.
Message
De
25/10/2000 13:33:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00252082
Message ID:
00434180
Vues:
18
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform