Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HELP! Strange TreeView Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00641479
Message ID:
00641499
Vues:
13
>I'm not quire sure how to explain this problem.
>
>I have a treeview loaded with 20 to 30 nodes.
>
>When I call ThisForm.oleTreeview.Nodes.Clear(), the treeview
>DOES clear, but then it causes my PC to go into a freeze while
>the scrollbar of the treeview slowy gets taller and taller until
>it reaches the bottom of the treeview, when my PC comes back to
>life.
>
>All this happens in about 30 seconds, but like I said, the nodes
>are cleared first. I'm not sure whats going on or how to stop it.

James mentioned setting LockScreen to .T., but since the Treeview is actually its own window, LockScreen won't have any affect. You might try the technique that I documented in the VFUG Newsletter article, "Smoother Refreshes with the TreeView and ListView Controls", June, 2000. It's available on-line at www.vfug.org
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform