2 Replies - 4642 Views - Last Post: 09 June 2011 - 07:47 PM Rate Topic: -----

#1 vexix11   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 09-June 11

display circle that follows cursor

Posted 09 June 2011 - 07:03 PM

Okay, so I am making a whiteboard program. So far I managed to generate the ability to draw lines and other small things. The problem is that I want to make a circle that follows the cursor to display what a dot there would look like. I am aware of the creategraphics property of picture boxes, but when I do that the circle stays there and a new one is generated where the mouse is now (an expected result). My question is, is there a way to draw and delete circles as the mouse moves. Also, is there a more efficient way of doing this. I did try using the OvalShape found in the power pack, but I cannot figure out how to display that over the picture box, when I right click the oval nothing happens. Thanks in advance for any help.

Is This A Good Question/Topic? 0
  • +

Replies To: display circle that follows cursor

#2 modi123_1   User is offline

  • Suitor #2
  • member icon



Reputation: 14417
  • View blog
  • Posts: 57,803
  • Joined: 12-June 08

Re: display circle that follows cursor

Posted 09 June 2011 - 07:44 PM

Check out my tutorial on drawing a 'rubber band' shape. It gives you all you need to know about drawing a shape on the fly.

http://www.dreaminco...bberband-shape/
Was This Post Helpful? 1
  • +
  • -

#3 vexix11   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 09-June 11

Re: display circle that follows cursor

Posted 09 June 2011 - 07:47 PM

Thank you very much!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1