O OneOfTheseDays Diamond Member Jan 15, 2000 7,052 0 0 Nov 29, 2001 #1 i'm using visual basic 6 and want to know how to use the drag drop. I have several picture boxes and i want to drag them into other picture boxes.
i'm using visual basic 6 and want to know how to use the drag drop. I have several picture boxes and i want to drag them into other picture boxes.
S splice Golden Member Jun 6, 2001 1,275 0 0 Nov 29, 2001 #2 something like so: Private Sub Picture1_DragDrop(Source As Control, X As Single, Y As Single) If TypeOf Source Is PictureBox Then Picture1.Picture = Source.Picture End If End Sub Make sure you have DragMode set to 1 (Automatic) in the source picture box
something like so: Private Sub Picture1_DragDrop(Source As Control, X As Single, Y As Single) If TypeOf Source Is PictureBox Then Picture1.Picture = Source.Picture End If End Sub Make sure you have DragMode set to 1 (Automatic) in the source picture box