Form opacity

O

Oscar

Hi,

I would like to set the opacity of a form but I dont want the components on
the form beeing affected.
I just want to have a transparent bakground with non transparant button,
labels etc.
Is this possiable?

//Oscar
 
?

=?ISO-8859-2?Q?Marcin_Grz=EAbski?=

Hi Oscar,

Oscar napisa³(a):
Hi,

I would like to set the opacity of a form but I dont want the components on
the form beeing affected.
I just want to have a transparent bakground with non transparant button,
labels etc.
Is this possiable?

//Oscar

Generally it is impossible to made any of form's contols (MDI children)
solid when its parent have the opacity less than one.

The possible way is to made separate form classes with single control
on them and with FormBorders=None. But then, you've got to set these
forms size and location manualy on every move of the main form.

I hope that WPF is (will be) more friendly in that matter.

With regards
Marcin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top