Transparent Question
I have a program that uses background images for each form. I also have panels and groupbox's throughout the program which I set their backcolor = color.transparent when the form(s) load. When I use the manifest file to give it the XP look, I set the panels/groupbox's flatstyle to system. However, my code gets an error once I do this. It says that "this control does not support the transparent property" (something very similar). It works fine as long as I don't set the flatstyle to system. Doesn't XP support transparent backgrounds? Isn't there a way to set the flatstyle to system and still be able to set the transparency of panels/groupbox's for background images to show through?
I've tried to search for this topic with Google, MSN, and Yahoo but didn't find any answers.
here is my sample code:
'Form Load Event
groupbox1.flatstyle = flatstyle.system
groupbox1.backcolor = color.transparent
When I run the program I get this error:
"Error - This control does not support the transparent property"
I can get the exact error if that will help.
|