Added: 1 year ago
From: networking26
Views: 5,222
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (11)

Sign In or Sign Up now to post a comment!
  • thank you very much GOOD!

  • 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 Nice, the second one you did, was that in the timer_tick event as well or a different event?

  • @networking26

    no Form1_MouseMove event

  • 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 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

  • @7ashayology Oh yeah and set the Mouse up event and stop the timer in there

  • if you want the image in the picture box to change when clicked you could ad picturebox1.image = my.resources.(imagenamehere)

  • @XimontageiX Yes, thanks for this comment.

    You could also apply this to the mouse_hover event as well

  • 1st view!!!

  • @bambucha369 And 1st comment haha sweet

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more