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

Making panels transparent?

Is it possible to give panels opacity so they are see through a little
bit? I have a background image on my mainform and I want to put panels
over it that you can see the background image still but at 50% opacity.
For a screenshot go to http://www.zero-6.com/1162006122545.JPG the
panel is outlined in pink, I want to be able to see the background
image through it. If anyone knows how I can do this that would be
greatly appreciated, thanks.

Jan 16 '06 #1
4 7883
Why don't you create a image set the opacity you want then set the
panels BackImageURL equal to the image you just created.

Jan 16 '06 #2
Just found a better solution actually but thanks :D

It was alot easier than I made itout to be just had to use the property

Color panelColor = Color.FromArgb(170, 64, 64, 64);
panel3.BackColor = panelColor;

Jan 16 '06 #3
"Netmonster" <ne***********@yahoo.com> wrote in news:1137444440.905478.8220
Why don't you create a image set the opacity you want then set the
panels BackImageURL equal to the image you just created.

The background in that case would be the panel itself (probably grey), not
whatever was underneath the panel.


Jan 16 '06 #4
The 170 sets the alpha making it transparent and showing the background
image, but faded.

Jan 16 '06 #5

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

Similar topics

by: Jim | last post by:
Now this is just weird. And yes, I validated the html and the stylesheet. I created a transparent gif image in Paint Shop Pro 7. I made the mistake of making a transparent png and went along...
by: Steve Koon | last post by:
Any thoughts on getting this project to work or suggesting another method would be appreciated. Steve ========================================== Project: A Windows Form which acts as a...
by: Nathan Sokalski | last post by:
I am trying to make a transparent background using the Bitmap and Graphics classes by setting the alpha value. However, it looks like what is happening is that it is being painted on top of the...
by: thowle | last post by:
Okay, here is what I have, I designed a GUI that has rounded edges at the top (left and right). I want them to be transparent (Like Windows XP is when you have the Luna themes enabled). The...
by: RCS | last post by:
I'm working on an ASP.NET webpage that generates an image (and am using VWD 2005 until my copy of VS2005 ships). I have done all the obvious (and not-so-obvious) things to try to give a gif that I...
by: Brian Ward | last post by:
I am looking for a simple way to set the image transparency in a PictureBox. I have a moving PictureBox containing a graphic image .. moving by incrementing its Left property. The background...
by: Terry | last post by:
Hi again folks. I am getting my problems fixed but now I have another one. It looks like background:transparent does not exist for IE6. I am getting a blue background where I should be having...
by: ofiras | last post by:
Hello everyone, I always wonderd if transparent colors are possible in html, so i asked here once about it and they answerd that it's not possible to do it. Today i thought of something to make...
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...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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,...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.