Print Page | Close Window

(SOLVED) Change TreeViewNode parent

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13399
Printed Date: 18 April 2024 at 6:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: (SOLVED) Change TreeViewNode parent
Posted By: pepsipela
Subject: (SOLVED) Change TreeViewNode parent
Date 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,  



Replies:
Posted By: Oleg
Date Posted: 13 February 2009 at 1:36am

Hi,

Sorry, Parent  property is readonly in our TreeView. You only can remove previous node and add new.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: pepsipela
Date Posted: 13 February 2009 at 5:28am
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


Posted By: pepsipela
Date Posted: 19 February 2009 at 11:29am
Originally posted by pepsipela pepsipela wrote:

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


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


Posted By: pepsipela
Date Posted: 24 February 2009 at 4:18am
Originally posted by oleg oleg wrote:

Hi,

Sorry, Parent  property is readonly in our TreeView. You only can remove previous node and add new.


Thanks for your response,

Is planned to implement the possibility of change the parent proprerty of TreeViewNode in future versions ?

Regards.
 


Posted By: Oleg
Date Posted: 24 February 2009 at 1:17pm
Hi,
 
Yes, we are going to implment this.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: pepsipela
Date Posted: 25 February 2009 at 6:25am
Originally posted by oleg oleg wrote:

Hi,
 
Yes, we are going to implment this.


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


Posted By: Oleg
Date Posted: 25 February 2009 at 8:20am
Hi,
If its so critical for you, send email to mailto:support@codejoc.com - support@codejoc.com , I will attach updated ActiveX.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: pepsipela
Date Posted: 25 February 2009 at 9:38am
Originally posted by oleg oleg wrote:

Hi,
If its so critical for you, send email to mailto:support@codejoc.com - support@codejoc.com , I will attach updated ActiveX.


Thank you very much for your special attention, the email is sent.

Regards



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net