Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Moveable PictureBoxes
#2
Actualy, that all wasn't enough for me, I had to add:

Code:
Private Sub picMapEditor_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
    Call MovePicture(frmMirage.picMapEditor, Button, Shift, x, y)
End Sub

Aye, if I wanted smooth moving (without auto-move cursor to left upper corner of image and changing position of image instantly when click). So, all you have to add is calling "MovePicture" on MouseMove in picture box.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)