S seanvoth Well-known member Joined Aug 5, 2006 Messages 58 Programming Experience 1-3 Feb 14, 2007 #1 is there code so when i click the LEFT mouse button my pic wll move to he left
vis781 Well-known member Joined Aug 30, 2005 Messages 2,016 Location Cambridge, UK Programming Experience 5-10 Feb 15, 2007 #2 You would handle the MouseDown Event for the form.. VB.NET: If e.Buttons = MouseButtons.Left Then Me.PictureBox1.Location = New Point(Me.PictureBox1.Location.x-10,Me.Picturebox1.location.y) End if You may need to check the e.buttons bit. Upvote 0 Downvote
You would handle the MouseDown Event for the form.. VB.NET: If e.Buttons = MouseButtons.Left Then Me.PictureBox1.Location = New Point(Me.PictureBox1.Location.x-10,Me.Picturebox1.location.y) End if You may need to check the e.buttons bit.