Transparent Text Box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My text boxes are transparent in that the backgrornd is visible behing the window containing the text box. This occurs when the BackColor property is Window. In some projects this does not happen so I suspect their is some property or setting causing this. If I choose a BackColor of Info, they are not transparent. How can I avoid transparent Text Boxes when using Window BackColor?

Thanks,
 
Override onBackground draw or use this:
http://www.codeproject.com/cs/miscctrl/alphablendtextbox.asp

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "


GordonC said:
My text boxes are transparent in that the backgrornd is visible behing the
window containing the text box. This occurs when the BackColor property is
Window. In some projects this does not happen so I suspect their is some
property or setting causing this. If I choose a BackColor of Info, they are
not transparent. How can I avoid transparent Text Boxes when using Window
BackColor?
 
Tamir:

How do I override onBackground draw? I searched the c# help and could not find any reference to "onBackground draw."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top