Danke. Scheint soweit zu gehen. Und wie sieht es hiermit aus ? destinationNode.Nodes.Add((TreeNode) newNode.Clone());
Das hier bringt einen Fehler: destinationNode.Nodes.Add(CType(e.Data.GetData("System.Windows.Forms.TreeNod e") newNode.Clone()) Und zwar, das NewNode.clone nicht definiert ist. Anbei nochmal das ges. C#-Bsp. für den Zusammenhang: Gruß Steffen ---------------------------------------------------------------------------- --------------------------- private void treeView2_DragDrop(object sender, System.Windows.Forms.DragEventArgs e) { TreeNode newNode; if( e.Data.GetDataPresent("System.Windows.Forms.TreeNode", false)) { Point pt; TreeNode destinationNode; pt = treeView2.PointToClient(new Point(e.X, e.Y)); destinationNode = treeView2.GetNodeAt(pt); newNode = (TreeNode) e.Data.GetData("System.Windows.Forms.TreeNode"); if(!destinationNode.Equals(newNode)) { //destinationNode.Nodes.Add(newNode.Clone()); destinationNode.Nodes.Add((TreeNode) newNode.Clone()); destinationNode.Expand(); //Remove original node newNode.Remove(); } } } _______________________________________________ Framework.net Mailingliste, Postings senden an: [EMAIL PROTECTED] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/framework.net