(SOLVED) Change TreeViewNode parent |
Post Reply |
Author | |
pepsipela
Groupie Joined: 15 May 2008 Location: Spain Status: Offline Points: 24 |
Post Options
Thanks(0)
Posted: 12 February 2009 at 11:20am |
Hi,
I am working with VB6 and Codejock controls 13.0.0 under Windows XP, I need to change the parent of TreeViewNode at runtime, but when i change the property Parent of TreeViewNode it doens't place itselft at new position of treeview, curiously the Text property of the supposed old parent changes to Text property of the supposed new parent. This is the code that i am using : Set Me.TreeView1.Nodes("NodeKey").Parent = Me.TreeView1.Nodes("ParentNodeKey") Any suggestion ? Thanks, |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Sorry, Parent property is readonly in our TreeView. You only can remove previous node and add new.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
pepsipela
Groupie Joined: 15 May 2008 Location: Spain Status: Offline Points: 24 |
Post Options
Thanks(0)
|
Thanks, but when the TreeViewNode to move has a chlidren nodes structure, what should i do ?
What will happens with chlidren nodes when remove the parent node ? Should i remove all children nodes structure and create same structure node by node ? Thanks |
|
pepsipela
Groupie Joined: 15 May 2008 Location: Spain Status: Offline Points: 24 |
Post Options
Thanks(0)
|
We are in development process and we need to take some important decisions related to this topic. Any suggestions ?, please. Thanks a lot for your help |
|
pepsipela
Groupie Joined: 15 May 2008 Location: Spain Status: Offline Points: 24 |
Post Options
Thanks(0)
|
Thanks for your response, Is planned to implement the possibility of change the parent proprerty of TreeViewNode in future versions ? Regards. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes, we are going to implment this.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
pepsipela
Groupie Joined: 15 May 2008 Location: Spain Status: Offline Points: 24 |
Post Options
Thanks(0)
|
Thank you very much for your support ! We have done a massive replacement of VB6 standart controls for Codejock controls, we are developping a new version of our application that we may finalize during the next months, and the possibility of change the parent node in execution time is a critical feature for us. We doubt between maintaining provisionally the VB6 standard Treeview or implementing the Codejock's Treeview definitively. It would be possible to have an approximated idea when the new version of the Treeview Codejock control will be available ? Thaks a lot for everything, Regards |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
If its so critical for you, send email to support@codejoc.com , I will attach updated ActiveX.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
pepsipela
Groupie Joined: 15 May 2008 Location: Spain Status: Offline Points: 24 |
Post Options
Thanks(0)
|
Thank you very much for your special attention, the email is sent. Regards |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |