I have picture1, I want the user to be able to move it and drop it on any window, if the window is active or not, Anyway, when the user lets go of the picture1 I want label1 to hold the X and Y of the point the user dropped at to process. How would I do this? right now I have automatic DragMode and this code
VB Code:
Private Sub Picture1_DragDrop(Source As Control, X As Single, Y As Single) Label1.Caption = "X " & X & " Y " & Y End Sub




Reply With Quote