Results 1 to 3 of 3

Thread: Form Transparency

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2002
    Posts
    18

    Form Transparency

    In my Project I have a Label1 in a Form. I set the Label1 BackColor to Transparent.
    I change the Form BackColor to Transparent but it doesn’t work, so I try Opacity and set it to 5%. But when I Debug the program, I cannot see the Label1.
    All I want to happen is, when I Debug the program, the Form is transparent and the Label1 is visible. I think opacity is not the answer here.
    Anybody have a solution here?

  2. #2
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    if you set a color transparent, that control get the color of the form. It does not really get transparent, so when you change the opacity of the form, the form will get sort of transparent, but you'll always see the label.
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

  3. #3
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    Make the color of your form a color you will never use on it, such as blue.

    Then at the bottom of the properties, there is a transparency key, set that to the same color as the background of your form.

    Now your form should be transparent.

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