Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving A TreeView Node
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01036288
Message ID:
01036320
Views:
21
>One way is remove node and add again with relative flag..
>
>tree.nodes.Add(loChild1, 3, node_key, node_text, node_image, node_selectedimage)
>
>MartinJ
>
>
>>You can't do this so easier.
>>One way: Make the KEY of Child 3 bigger than Child1 and smaller then Child2 and set the treeview.Sorted=.t.
>>Other way is to rebuild the whole treeview and make sure yo add Child3 Before Child2

Thanks Martin, It dind't occurs to me.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform