Information générale
Catégorie:
Contrôles ActiveX en VFP
Have you tried setting the form's LockScreen property to .T. before and .F. after the Clear? I recall seeing other references to this problem here or on the Newsgroups, but don't recall the solution.
...Jim
>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement