Results 1 to 3 of 3

Thread: More questions from a newbie

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    3

    Thumbs down

    Trying to draw a circle and fill it with color and clear the image on "Clear" command

    So far I managed to draw a circle, but keep failing to fill it with color and I cant seem to clear the screen

    Private Sub cmdDraw_Click()

    Form1.Circle (2750, 1100), 1000 'draw circle

    Form1.FillColor = QBColor(Combo1.Text) 'fills the circle with color index taken from a drop down menu

    End Sub

    and to clear I usedoesnt work)

    Private Sub cmdClear_Click()
    form1.Clear
    End Sub


    Any suggestions?

  2. #2
    Guest
    Use the Cls method.

    Code:
    Form1.Cls

  3. #3
    Lively Member
    Join Date
    Jun 2000
    Posts
    82
    To fill the circle, you need to set the fillstyle of the form to vbSolid.

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