Solved!!! You can't actually re-allocate a node as a root node in the treeview, you have to delete it first and then re-allocate it using "Nodes.Add... "
Dave Crozier The secret to staying young is to live honestly, eat slowly, and to lie about your age -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Crozier Sent: 11 October 2006 13:58 To: 'ProFox Email List' Subject: Treeview Problem Guys, I'm looking at the M$ treeview control and trying to sort out OLE Drag/Drop for re-organising the tree nodes. So far so good as when I drop a node onto another node I can set the Parent of the Dropped nodeas follows: oDropped_Node.Parent=oDropped_On_Node However I want to allow the user to make a node a ROOT node and iff you look at any root node the Parent is set to be .NULL., so it seems sensible to do the following assuming the dropped node is dropped onto white space: oDropped_Node.Parent=Null However this does NOT work and I get an error "OLE Error 0x80020003 Member not Found", so does anyone out there know how to accomplish this. I have Jim Nelson's overview of the Treeview ActiveX but it isn't any help. Dave Crozier The secret to staying young is to live honestly, eat slowly, and to lie about your age -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.2/471 - Release Date: 10/10/2006 [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

