Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recursive method?
Message
From
15/05/2003 04:40:01
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00787723
Message ID:
00788558
Views:
34
This message has been marked as the solution to the initial question of the thread.
Hi,

Sorry, lazy reading...

FWIW I think you can take a simpler approach. This should be all you need:
*DragDrop
oTNode = oTargetTree.Nodes.Add;
(.DropHighlight.key,4,oSource.SelectedItem.key,oSource.SelectedItem.Text)
DO AddChildren WITH oTNode,oSource.SelectedItem.Child

PROC AddChildren
LPARAMETERS oTNode,oSNode
DO WHILE !ISNULL(oSNode)
DO AddChildren ;
(TargetTree.Nodes.Add(oTNode.Key,4,oSNode.Key,oSNode.Text),oSNode.Child)
oSNode = oSNode.Next
ENDDO
HTH
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform