Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView move a node rather than remove/add
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01042929
Message ID:
01042985
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform