Results 1 to 3 of 3

Thread: Drawing rectangles

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Location
    Slovenia
    Posts
    32

    Unhappy

    Hi!
    I would like to draw rectangles on PictureBox, but I can't find Rectangle(or something) method like there is Circle method. Does it exist? How can I draw rectangles?
    Thanx for any answer.
    VB6 Pro SP3 - Academic Licence

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

  3. #3
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    No APIs needed!


    this sort of thing should do it!

    Code:
    Picture1.Line (x1,y1)-(x2,y2),,B
    Mark
    -------------------

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