It's represented by Source.
Code:Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single)
'Move the "Source" to a new location
Source.Move X, Y
End Sub
Printable View
It's represented by Source.
Code:Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single)
'Move the "Source" to a new location
Source.Move X, Y
End Sub
What if you're using OleDragDrop (which doesn't have Source as an argument) instead of DragDrop?
I'm moving from one listview to another. Any code in the dragdrop event isn't firing...even a messagebox as the first line. The Oledragdrop fires and works for me but it doesn't have source as one of the arguments.