Results 1 to 4 of 4

Thread: VB2008: [Resolved] transparent form but visible controls?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2009
    Posts
    463

    VB2008: [Resolved] transparent form but visible controls?

    if I set the property Opacity = 0, a form becomes transparent... but become transparent all it controls, too!

    how to make transparent ONLY the form and let the controls, labels, buttons etc. visible??
    Last edited by phil2000; Dec 22nd, 2009 at 12:56 PM.

  2. #2
    PowerPoster keystone_paul's Avatar
    Join Date
    Nov 2008
    Location
    UK
    Posts
    3,327

    Re: VB2008: transparent form but visible controls?

    Set the background colour of the form to an obscure colour that you won't ever want to use on the form, then set the form's transparencykey to that precise colour. Then every pixel of your selected colour will become transparent.

  3. #3
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: VB2008: transparent form but visible controls?

    You also want to set your FormBorderStyle to None in your form properties.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 2009
    Posts
    463

    Re: VB2008: transparent form but visible controls?

    soooooooooooooooooo simple!

    ty for the help, mates!

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