467,864 Members | 1,905 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,864 developers. It's quick & easy.

Transparent Text Box

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,

--
Gordon Clark
Nov 16 '05 #1
  • viewed: 11706
Share:
2 Replies
Override onBackground draw or use this:
http://www.codeproject.com/cs/miscct...endtextbox.asp

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "
"GordonC" <Go*****@discussions.microsoft.com> wrote in message
news:6B**********************************@microsof t.com...
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,

--
Gordon Clark

Nov 16 '05 #2
Tamir:

How do I override onBackground draw? I searched the c# help and could not find any reference to "onBackground draw."
--
Gordon Clark
"Tamir Khason" wrote:
Override onBackground draw or use this:
http://www.codeproject.com/cs/miscct...endtextbox.asp

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "
"GordonC" <Go*****@discussions.microsoft.com> wrote in message
news:6B**********************************@microsof t.com...
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,

--
Gordon Clark


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Jerry Camel | last post: by
9 posts views Thread by Rhino | last post: by
2 posts views Thread by Joe Delphi | last post: by
1 post views Thread by aljosa | last post: by
reply views Thread by pamelafluente | last post: by
4 posts views Thread by zebik | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.