473,766 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 12024
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*****@discus sions.microsoft .com> wrote in message
news:6B******** *************** ***********@mic rosoft.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 "onBackgrou nd 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*****@discus sions.microsoft .com> wrote in message
news:6B******** *************** ***********@mic rosoft.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
6490
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 IE or Firefox. I have tried GIF and PNG with 'binary' transparency and PNG24 with 'alpha' transparency (obviously the latter won't work in IE without the AlphaImageLoader trick). Here is a test page for you to see it not working in action:
6
2324
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 OR have the text appear on top of the image. But in the second case, the image and text aren't centered properly. Any help is appreciated... Jerry
9
2116
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;) associated with a selector, it gave me this error message: Line : 30 (Level : 1) You have no background-color with your color : #navlist li a Here's the CSS fragment that it doesn't like:
2
2652
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 doesn't seem to recognize this HTML attribute. Can someone tell me how to do this?
4
9372
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 written on the glass pane. i need to be able to see the control or form that is underneath the RichTextbox, and at the same time to be able to write and erase text to the RichTextbox. i'm assuming that it is the backcolor that hides what is...
1
8433
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) draw = ImageDraw.Draw(img) draw.text((10, 10), self.text, font=font,fill=(255,255,255)) <<< url with example would be nice 8-)
0
2334
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 class=c7bg style="top:202px;left:585px;width:55px;height:30px;"> <div class=c7fg style="top:7px;left:2px;"> <table><tr>
4
6378
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 other way to have transparent textbox? Thnks.
2
2409
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 each letter. The letters will be contained within a white box. I don't think this is possible (I've tried a couple different ways I can think of) but can anyone let me know definitively? Cheers, James
0
9404
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10008
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8833
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5279
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.