Results 1 to 2 of 2

Thread: Issue with picturebox transparency.

  1. #1

    Thread Starter
    Hyperactive Member DerekM's Avatar
    Join Date
    Jun 2009
    Location
    Colorado
    Posts
    296

    Issue with picturebox transparency.

    Why is it that I can't seem to make a picturebox transparent? I just can't seem to figure it out, I set the back color to transparent, I even made a color in my image transparent but still no results. I've been able to make the back transparent before.

  2. #2
    PowerPoster boops boops's Avatar
    Join Date
    Nov 2008
    Location
    Holland/France
    Posts
    3,201

    Re: Issue with picturebox transparency.

    You only get a simple kind of transparency with BackColor=Color.Transparent. It shows you the background colour of the parent control, which is usually a form. You will also be able to see the form's background image if there is one. But you cannot see other controls such as another picture box. So maybe the picture box you want to be transparent is on top of another control. You can change that by changing the picture box's Parent. For example, suppose you have PictureBox1 on top of PictureBox2:
    Code:
    PictureBox1.Parent=PictureBox2
    Then you can see PictureBox2 (but not the form) through the transparent parts of PictureBox1. Does that fix it?

    cheers, BB

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