Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding Dangling Object Refs
Message
From
16/07/1999 07:51:12
Kenneth Downs
Secure Data Software, Inc.
New York, United States
 
 
To
15/07/1999 15:54:27
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00241528
Message ID:
00242222
Views:
36
Sorry to say, the fix is to not do it.

If you are going to walk the tree, you have to use a recursion routine, and completely avoid reassigning a node pointer. Something like this:
=DoSomethingWithANode(Thisform.Treeview1.selectedItem.Root)

PROCEDURE DoSOmethingWIthANode
LPARAM loNode
*
*  Code here that does your stuff
*
=DoSomethingWithANode(loNode.Next)  &&--or child
ENDPROC
This wrapped it up for me. Hope it helps.

>I am doing exactly that! What is the fix/workaround?
>
>-- jas
Previous
Reply
Map
View

Click here to load this message in the networking platform