Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple design issue
Message
De
27/12/2005 12:28:51
 
 
À
27/12/2005 12:03:47
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01080868
Message ID:
01081018
Vues:
11
Well, it appears that the image has priority, but it just works differently in 2005 vs 2003. I'm thinking that in 2003, a transparent image caused it to be transparent all the way through, whereas in 2005, it probably causes it to be transparent to the backcolor of the control. If you think about that, it makes sense ... most of the times an image has an actual picture, with maybe a transparent background. When you see through that background, you're going to want to see the backcolor of the control. So, from this perspective, I'd say it's buggy in 2003 and works correctly in 2005.

What exactly are you trying to do anyway? Why do you want a transparent GroupBox?

~~Bonnie



>>Looks like a bug ... it doesn't work in VS 2005 the same as it works in VS 2003. Any other image seems to work just fine, but if I use a transparent image, it doesn't work, whereas it *did* work in VS 2003.
>
>By curiosity, what makes a transparent image to be used instead of the back color? Because, if both are set, which one has priority? The reason I am asking is that I haven't found a way to disable the back color. Also, trying to set back color to transparent always generate a message that it can't be set.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform