Drag & drop

Post

Posted
Rating:
#1 (In Topic #651)
Regular
bill-lancaster is in the usergroup ‘Regular’
 I can't see how to do this, it's probably very simple.
I have a picture box with a thumbnail of a photo.  I want to place a copy of the file in a particular directory using drag n' drop
I don't want the drag.icon to be the picture because they are large images.
How best to show just a "+" image as the drag.icon in the _MouseDrag event?
Online now: No Back to the top

Post

Posted
Rating:
#2
Regular
bill-lancaster is in the usergroup ‘Regular’
OK, got it!

Code

Public Sub PictureBox1_MouseDrag()
  If Mouse.Left Then
    Drag.Icon = Picture["icon:/32/add"]
    Last.Drag(Drag.Icon.Image)
  Endif
End
Online now: No Back to the top
1 guest and 0 members have just viewed this.