473,378 Members | 1,411 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,378 software developers and data experts.

Transparent Background

Is there a way to make a control have a transparent background? Like a text
box.

Thanks,
Scott
Mar 25 '06 #1
3 1450
Yes there are several ways.

Mar 25 '06 #2
Hi Scott,

Have a look at the SetStyle method of the System.Windows.Forms.Control
class.

regards
Emil Kvarnhammar

"Scott" <so***@msn.com> skrev i meddelandet
news:ex**************@TK2MSFTNGP12.phx.gbl...
Is there a way to make a control have a transparent background? Like a
text box.

Thanks,
Scott

Mar 25 '06 #3
vj
That is in .NET 2.0 I believe.. can do a transparent background for
Textboxes in 1.1, other than trying to match the BackColor?

VJ

"Emil Kvarnhammar" <info at ynax.com> wrote in message
news:ui**************@TK2MSFTNGP11.phx.gbl...
Hi Scott,

Have a look at the SetStyle method of the System.Windows.Forms.Control
class.

regards
Emil Kvarnhammar

"Scott" <so***@msn.com> skrev i meddelandet
news:ex**************@TK2MSFTNGP12.phx.gbl...
Is there a way to make a control have a transparent background? Like a
text box.

Thanks,
Scott


Mar 25 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Grahammer | last post by:
Is it possible to set the background of a usercontrol as transparent? I tried setting the background image of the usercontrol to a transparent GIF, but that caused MAJOR problems. I'm making...
5
by: Juan Romero | last post by:
Hey guys, Does anyoone know how to make a control with transparent background? This is what I have so far and it doesn't work: Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True)...
4
by: Vincent | last post by:
Hi all, I would like to make a table or a div with a transparent background. The solution found does work only with FireFox using a png image. The second one works with IE and FireFox but make...
0
by: MLH | last post by:
My question is not how to paste images in Access with transparent backgrounds. I've researched 4-6 year old postings adequately describing how to achieve this. Lebans' site does a good job of...
0
by: rh | last post by:
Hi, I am using a ASP.NET 2.0 Menu control and would like the dynamic menu to have a transparent background so that whatever is behind it is partly visible between each dynamic menu item. I've...
2
by: Trond Michelsen | last post by:
Hi. I have a transparent PNG-image that I would like to display on top of the rest of the web page. I've already got this part working. But, I'd like the background (as in "the part of the image...
0
by: Martijn Mulder | last post by:
How can I give my custom System.Windows.Forms.Control a transparent background? In the small application below I expect to see two partially overlapping circles, a blue one and a red one, but only...
11
by: vbt | last post by:
I am having difficult time drawing a image using Visual Studio Image Editor. I can draw the image and save it as .bmp file load it into a pictureBox image but when the program is run the...
2
by: Niu Kun | last post by:
Dear all, I'm trying to draw many overlapped PNG files with transparent background in imagebox control. But the transparent background in this control is rendered as the main control's...
8
by: salmobytes | last post by:
Making thumbnail images isn't all that hard, for the most part. There is lots of shrink-wrapped code out there you can download and/or munge from. But nothing I've yet seen does the right thing...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.