Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# Control - Transparent Label
Message
 
À
08/10/2007 20:37:06
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
01259615
Message ID:
01259794
Vues:
14
I have tried both, and it has no effect. The label is not transparent.

I have a panel control with a picturebox in it of a gradient. The label is then on top of the gradient. The label appears as black text inside a white rectangle.




>>How do I set the background of a label to transparent?
>
>
>this.MyLabel.BackColor = System.Drawing.Color.Transparent;
>
>
>Or, from the PropertySheet's color picker, choose the Web tab to find the Transparent color.
>
>~~Bonnie
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform