|
-
Aug 13th, 2006, 08:40 PM
#1
Thread Starter
Hyperactive Member
Last edited by ZaNi; Aug 13th, 2006 at 09:00 PM.
-
Aug 13th, 2006, 11:53 PM
#2
Re: [2005] Graphic problem when resizing a PictureBox on MouseMove
Try this
VB Code:
Private Sub PB_MouseMove(ByVal sender As System.Object, _
ByVal e As System.Windows.Forms.MouseEventArgs) Handles PB.MouseMove
Static MouseX As Single
If e.Button = MouseButtons.Left Then
PB.Location = New Point(PB.Location.X - MouseX + e.X, PB.Location.Y)
Else
MouseX = e.X
End If
End Sub
-
Aug 14th, 2006, 02:24 AM
#3
Thread Starter
Hyperactive Member
Re: [2005] Graphic problem when resizing a PictureBox on MouseMove
If I could rate you twice, I would. Thank you very much.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|