Results 1 to 2 of 2

Thread: dotted line

  1. #1
    Guest
    I have the code for a line,

    Picture1.Line (200, 300)-(500, 300)

    does anybody know how to make it into a dotted line.

    also I have a circle,

    Picture1.Circle (-7, 30), 2,

    can anybody tell me how to fill the circle with colour.

    Thanks for any help.


  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    First question:
    Code:
    MyPictureBox.DrawStyle = vbDot
    MyPictureBox.Line (200, 300)-(500, 300)
    Second question:
    Code:
    MyPictureBox.FillColor = vbRed
    MyPictureBox.FillStyle = vbFSSolid
    MyPictureBox.Circle (-7, 30), 2
    Enjoy!

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