Transparent Textbox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fabian Valencia

    #1

    Transparent Textbox

    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


Working...