Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView won't let go of memory
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00335354
Message ID:
00335490
Views:
13
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform