eric Posted November 14, 2019 Share Posted November 14, 2019 Hello, 1/ I am trying to move a node before or after using the code below. but instead to move the node (nainsert) , it add the previous or next node as a child (naAdd, naAddChild) any idea or do you have a workaround ? with UniTreeView1.Selected do begin NextSibling := GetNextSibling; if NextSibling <> nil then NextSibling.MoveTo(UniTreeView1.Selected, naInsert); end; with UniTreeView1.Selected do begin PrevSibling := GetPrevSibling; if PrevSibling <> nil then MoveTo(PrevSibling, naInsert); end; eric Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 18, 2019 Share Posted November 18, 2019 On 11/15/2019 at 1:56 AM, eric said: I am trying to move a node before or after using the code below. but instead to move the node (nainsert) , it add the previous or next node as a child (naAdd, naAddChild) any idea or do you have a workaround ? Hello, Sorry, for the late reply. Which build are you using?! Can you make a simple testcase for this? Quote Link to comment Share on other sites More sharing options...
eric Posted November 19, 2019 Author Share Posted November 19, 2019 I am using the 1.90.0.1513. Thx for your help eric Project_test_tree.rar Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 19, 2019 Share Posted November 19, 2019 17 minutes ago, eric said: I am using the 1.90.0.1513 On 11/18/2019 at 8:28 PM, Sherzod said: Can you make a simple testcase for this? Quote Link to comment Share on other sites More sharing options...
eric Posted December 16, 2019 Author Share Posted December 16, 2019 do you have an answer ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 17, 2019 Share Posted December 17, 2019 6 hours ago, eric said: do you have an answer ? Please check your testcase, and please attach the testcase with sources. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.