473,396 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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
2 12001
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: djmanmaster | last post by:
Am I right in thinking that images with transparent areas (GIFs or PNGs) should allow clicks to "pass through" to any underlying elements behind them? I have had no luck getting this to work in...
6
by: Jerry Camel | last post by:
I want to center an image on the screen and have text centered over the image. What's the best way to do this? I've been playing with style tags and I can get the stuff to center automatically...
9
by: Rhino | last post by:
I've been updating some CSS today and got one odd error from the validator at http://jigsaw.w3.org/css-validator/. Every time I had 'background: transparent;' (or background-color: transparent;)...
2
by: Joe Delphi | last post by:
Hi, I want to position label text so that it always appears centered when the user re-sizes the browser window. I tried adding the HTML property text-align="CENTER" to the code, but ASP.NET...
4
by: ray well | last post by:
in my app i need to make a RichTextbox control transparent. i need it to be a like a pane of glass lying on a sheet of paper, where u can see everything on the sheet of paper not covered by text...
1
by: aljosa | last post by:
is it possible to create transparent text (~50% transparency) on image? i'm using the following code to draw text on image: font = ImageFont.truetype(str(self.font_family)+".ttf", self.font_size)...
0
by: pamelafluente | last post by:
Hello experts, I need some help to do in a proper way what I am doing. I have some "cells" in a web page. Each "cell" is made of 2 DIV. One is inside the other. Example with 2 "cells" : <div...
4
by: zebik | last post by:
Hi. Does anyone know how to create one effect. When I choose a text in combobox, a richtextbox gets a new text loaded to it. But it is not transparent. VB.NET 2005 desn't allow me to do it. Is any...
2
jamwil
by: jamwil | last post by:
Hey guys, not sure if this is possible with css, but I have a photographic background for a website, and would like to create text that is completely transparent so that the background shows through...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.