I'm trying to make a textbox transparent, I want the background of the
textbox to be transparent and only the font to show. I created a class like
this but the background is always white insted of transparent.
public class TransparentBox : System.Windows. Forms.TextBox
{
public TransparentBox( )
{
SetStyle(Contro lStyles.Support sTransparentBac kColor, true);
this.BackColor = Color.Transpare nt;
}
}
Thanks for any help.
Fabian
textbox to be transparent and only the font to show. I created a class like
this but the background is always white insted of transparent.
public class TransparentBox : System.Windows. Forms.TextBox
{
public TransparentBox( )
{
SetStyle(Contro lStyles.Support sTransparentBac kColor, true);
this.BackColor = Color.Transpare nt;
}
}
Thanks for any help.
Fabian