Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving A TreeView Node
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01036288
Message ID:
01036350
Vues:
17
>Hi Hugo,
>
>Yes, in VFP can be problem, because time at time VFP cause Error if you create VFP reference of node a remove it.
>You can regenerate branch from source data.

I usually follow that approach, I move everything in an underlaying cursor used as source data and then I rebuild the (sub)tree

>Current image of node is Node.SelectedImage.

Yes, but I remember long ago I tried an approach similar to yours to move the node, and I had problems in the add() when using the Node.SelectedImage property, something like invalid pointer, or invalid index, can't remember
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform