[Openroad-users] duplicating treeviews

Kim Ginnerup kgi at bording.dk
Mon Jul 23 17:43:16 EST 2007


I have tried that too. (with not success

Try and check the manual.

As I remember it the TreeViewField.tree is a read only attribute.

 

Also remember that the assignment you did if it succeeded would not have been a duplicate, but just two TreeViewFields referencing the same tree instance.

You would need the .duplicate() method to do a real duplicate.

 

I think you need to traverse the tree.

Then without duplicate you will get two trees referencing the same tree nodes.

 

Kim

________________________________

Fra: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] På vegne af jade clements
Sendt: 23. juli 2007 06:14
Til: openroad-users at sealion.peerlessit.com
Emne: [Openroad-users] duplicating treeviews

 

I was wondering whether anyone has tried duplicating treeviews.

 

I have 2 treeviewfields.  On contains nodes, the other just blank.

 

I wish to do a direct assignment, 'field(treeB).tree = field(treeA).tree' yet 'treeA' contains zero nodes even after a field(treeB).Updfield()

 

Using OR2006 on Windows.

 

 

 

 

Regards

Jade Clements

 

 

 

MyWorkplace Solutions Pty Limited

Level 5, 11 Queens Road

Melbourne Victoria 3004

 

 

Ph:  1300 733 731

Making Service our Priority

 

www.MyWorkplace.com.au

 

If you receive this email by mistake, please notify us and do not make any use of the email. We do not waive any privilege, confidentiality or copyright associated with it.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20070723/e0d9a30c/attachment-0001.html 


More information about the Openroad-users mailing list