Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView won't let go of memory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00335354
Message ID:
00335490
Vues:
12
>I'm using VFP5, and the Treeview control. I have a method where I create a node object...
>
>loNode = thisform.oleTree.Nodes.Item(liIndex)
>
>at the bottom I say...
>
>loNode = NULL
>
>RELEASE loNode
>
>, but when I try to close the form, it will not close until I issue a CLEAR ALL from the command window.
>
>Any thoughts?

There is a problem with the TreeView control and VFP5. You basically can't make any reference to a variable using what you've done. In place of the variable, you'll have to use the complete reference (thisform.oleTree.Nodes.Item(liIndex)).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform