PDA

Click to See Complete Forum and Search --> : Question with Opacity


daimous
Feb 27th, 2007, 01:42 AM
hi guys! i have a question. Is it posible to set the opacity of my form to 10% but the controls/Objects with in it, like Textbox, Button, Etc, will still be 100% visible? In other words, is it posible to adjust the opacity of my form without affecting the visibility of my Controls/Objects? Thanks in advance!

jmcilhinney
Feb 27th, 2007, 02:03 AM
No it's not possible. Opacity affects every control on a form equally. You can make parts of your form completely transparent and others not using the TransparencyKey property but that's all.

daimous
Feb 27th, 2007, 02:20 AM
Ok. Thanks for that JM.

penagate
Feb 27th, 2007, 02:26 AM
You'd have to paint the form manually using regions.

penagate
Feb 27th, 2007, 02:27 AM
Or this trick (http://www.codeproject.com/useritems/How_to_make_VistaForm.asp).

jmcilhinney
Feb 27th, 2007, 03:16 AM
Or this trick (http://www.codeproject.com/useritems/How_to_make_VistaForm.asp).Fongkay!