5,062
Loading...
Uploader Comments (networking26)
see all
All Comments (11)
-
thank you very much GOOD!
-
no Form1_MouseMove event
-
@bambucha369 And 1st comment haha sweet
Loading...
thank you very much you are great
it works with the timer
it's olso work without the timer by useing this code PictureBox1.Location = New Point(Cursor.Position)a
and i tryed this one PictureBox1.Location = New Point(Cursor.Position) + New Point(-100, -100)a
7ashayology 1 year ago
@7ashayology Nice, the second one you did, was that in the timer_tick event as well or a different event?
networking26 1 year ago
good job man
I want to know the code of making the picbox move where ever the pointer move
pictuebox1.location=new point (mousemove) what do you think
7ashayology 1 year ago
@7ashayology Thanks, i don't know how to make the picturebox move with the cursor unless you use a timer control.
you could set a mouse down event for the picturebox and start the timer.
In the timer_tick event you can try setting the picturebox1.location = cursor.position
I don't know if this will work but it's worth a shot.
GL
networking26 1 year ago
@7ashayology Oh yeah and set the Mouse up event and stop the timer in there
networking26 1 year ago
if you want the image in the picture box to change when clicked you could ad picturebox1.image = my.resources.(imagenamehere)
XimontageiX 1 year ago
@XimontageiX Yes, thanks for this comment.
You could also apply this to the mouse_hover event as well
networking26 1 year ago