Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding Dangling Object Refs
Message
De
16/07/1999 07:51:12
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
 
 
À
15/07/1999 15:54:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00241528
Message ID:
00242222
Vues:
41
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform