Panel backgroundimage disappear when EnableVisualStyle

  • Thread starter Thread starter MatsL
  • Start date Start date
M

MatsL

I have a panel with a backgroundimage with a docked transparant label. If i
enablevisualstyles the backgroudimage disappear.

Any ideas why?

// Mats
 
I can duplicate your problem. It's not a problem with the panel or enabling
visual styles. It's a problem with the label caused by setting the BackColor
to Transparent first and then setting the FlatStyle to System.

In the Propery window, if your try setting the FlatStyle to System first and
then try to set the Backcolor to Transparent, a "Invalid Property Value. This
control does not support transparent background colors." dialog will appear.

Try setting FlatStyle to another value.

Regards,
Phli.
 

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

Back
Top