Hi, i like to change a node which is already in the tree with another node that i've create outside the tree.
How can i do this?
I tried this, but then the newer node is always at the end of the sibling nodes..
nOld.Parent.Nodes.Add(nNew)
nOld.Remove()
What can i do that the new node is at the place of the old one??
Thank you and sorry for my bad english!
nOld.Parent.Nodes.Insert(x,nNew);
where x is the index of nOld.
Oh, how easy! Thank you!!!!! Didn't know about the "insert"-Function......;-))) I used always nodes.add....
Hello,
Please let me know if you have any other questions.