Results 1 to 2 of 2

Thread: Circle method

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2000
    Posts
    29

    Question

    Hi everyone, i made a paint program, and i made it where the user clicks a + or - button to make the brush bigger or smaller, and i used the circle method to draw the brush at its current size on the form, everything works fine as i make it bigger, but as i click the - button, the circle gets smaller, but the outer edges of previous circles are still visible, which doesn't look too great. Anyone have any ideas on how i could fix this? Thanks for any help!

  2. #2
    Member
    Join Date
    Aug 1999
    Location
    Houston
    Posts
    48
    You might try clearing the screen to erase old circles, and make sure autoredraw is set true. Autoredraw is set in either the properties at design-time or during run-time with the following code:

    Form1.AutoRedraw = True

    You can clear everything drawn on a form or picture box using the command:

    Form1.Cls 'erases everything previously drawn

    You will just have to experiment a little. If the .Cls isn't what you want, you could write a white circle over the old circles so they are invisible.

    -lp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width