Results 1 to 2 of 2

Thread: How to draw correct colour lines on a picbox?

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    2

    Post

    Thanks for reading this.

    I have written a program that uses a picture box to display a picture(.bmp) and then I draw lines and filled boxes over the top (using the ?.Line()-(),,bf command) this all seems to work correctly except the colours I specify are not what I see on the screen, they are mixing with the colours from the .bmp.

    Is there an easy way to get round this?

    Can I have two picbox's one over the other with the top one being transparent except for the lines and boxes I draw on it?

    Any help and code examples would be most grateful.

    Thanks Anthony G7LRQ

  2. #2
    Guest
    To set the colour, change the ForeColor property of the PictureBox to whatever colour you want.

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