Peter Stanford
Member
I have successfully implemented Drag Drop from a VB.NET Treeview Control onto a textbox but need to stop the user from dragging the wrong value into the right textbox, i.e. I have 3 treeview controls and corresponding textboxes but I don't want the user to drag from treeview1 to textbox2 or textbox3 etc. Does anyone know how to determine the source control of the drag drop operation so it can be tested before allowing the value to be dropped?