>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)).