Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView move a node rather than remove/add
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01042929
Message ID:
01042985
Vues:
25
This message has been marked as the solution to the initial question of the thread.
>Hi all
>
>I have a TreeView populated. Now to move a node programatically up one sibling I have to remove the current node and recreate it as previous to sibling node.
>
>Is there a Move method?
>
>Plus this node may have children / grand children and so on, remove erases all of them, if there is no move method then how to recreate the state of the node being removed.
>
>Please advise.

Bhavbhuti,

Look at my Message #1036377 to see if it works for you. (Ignore what I said about recursion, for I removed it)
"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