Hello,


I set a frame's DragMode property to automatic and then wrote the following code into the Form_DragDrop event.

Code:
Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single)
Source.Top = Y
Source.Left = X
End Sub

[/code]

The frame's outline would move, but the frame snapped back to where it was. What can I do?