RE: Panel backgroundimage disappear when EnableVisualStyle by PhilWilliams
PhilWilliams
Tue Sep 28 07:37:04 CDT 2004
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.
"MatsL" wrote:
> I have a panel with a backgroundimage with a docked transparant label. If i
> enablevisualstyles the backgroudimage disappear.
>
> Any ideas why?
>
> // Mats
>
>
>