FOR EACH loNode IN ThisForm.oleTree.Nodes loNode.Selected = .F. loNode.Checked = .F. m.NodeCounter = loNode.Index loNode = .NULL. ENDFORNot too sure what the exact issue is, but it seems like the loNode seems to keep a reference to the TreeView Node object, even though you cannot see this.