VS 2010 Possible To Make One Picturebox Transparent
May 5, 2012is it possible to make one picturebox transparent, so you see the picturebox' picture underneath it?
View 2 Repliesis it possible to make one picturebox transparent, so you see the picturebox' picture underneath it?
View 2 RepliesI'm having problems making an image properly "transparent"
Dim x As Integer
Dim y As Integer
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
[Code] .....
The initial image is Transparent, however, once you create another image very close to it, there is a "box" around it. That "box" is what I am trying to get rid of. I have no clue on how to get rid of it. Yes, I have made the image itself, transparent, as the initial image is transparent. Just any image that makes contact with the other images show the "box".
I have two Picturebox and both should be transparent background, but the real problem is both transparent for form background but not over each other .
View 1 RepliesHow can I make a picturebox transparent?
View 8 RepliesI have a small picturebox(34x34 pixels) and want to have a transparent label(maybe 12x12 or 15x15 pixels) in the corner of it, which will be used as a counter.
I saw another forums suggesting adding the PictureBox as a parent to the Label, like this:
Label1.Parent = PictureBox1
Label1.BackColor = Color.Transparent
But then the label just disappears, and no text is displayed.
I'm trying to make an image in a picturebox transparent, so that i can see and click the controls behind it in the transparent area. This reason for this is that i'm trying to make a hexagonal grid that needs each cell to work independantly of each other when clicked, and needs to include a changing image. I'm trying to do this with pictureboxes, but even though i've made the GIF images i'm using transparent in photoshop, They aren't displayed as such in design view or at runtime, as the corners stay grey. I'm making a clone of the Quiz-show Blockbusters
View 6 RepliesWhy is it that I can't seem to make a picturebox transparent? I just can't seem to figure it out, I set the back color to transparent, I even made a color in my image transparent but still no results. I've been able to make the back transparent before.
View 1 Repliesi am making a program with graphics and im using a picturebox for a button. The image inside picturebox is transparent .gif. The problem is that i don't know how to make picturebox transparent. I searched the internet but all exaples didn't work. Does someone know how to fix this problem?
View 4 RepliesI want to use a PictureBox2 (pic.png) above PictureBox1 (pic.jpg) on VB I used this code:
PictureBox2.BackColor = Color.Transparent
PictureBox2.BorderStyle = BorderStyle.None
but it doesn't work
it makes the border black & white
I know that this question has already been asked million of times, but until now I haven't found a WORKING way to make this to work.I've a Media Player control, and in front of it (for a logo thing), I have a PictureBox, that I want to make transparent. I've tried million of things, but couldn't get it to work.
View 31 RepliesI'm playing with some new UI for one of my projects. I have created a digital display board in Photoshop and added a Picturebox in my VB project and used that image in it.But what I want to do is, I'll be displaying some text above that image. When I tried placing a LabelBox and setting it's BackColor to Transparent, doesn't work !
The text in the LabelBox will be changing each second. So, what I'm doing is using a Timer control with 1000 as interval and displaying the text.What will be the solution ? Do I have to draw the text on the picturebox on Paint event ?
I need to plot some analog values read from the serial port.I plot them in a picturebox starting from left. When I reach the end of the control at the right side I shift all values to the left of a point and I plot the new point at the right, (I have some flickering but it could be acceptable). This is my plotting control.My problem is that I have to clear the control (picturebox) in order to plot the shifted graph, but the method Clear of the Graphics class clears everything inside the picturebox, even my grid.How can i make always visible a grid "in" my picturebox?
1.a transparent image with a grid over the PB? (the clear method cannot remove it)
2.an image with a grid below the picturebox that must be with a transparent background to make visible the grid?
3.multiple layers on the same picturebox?
I have code for make the usercontrol transparent:
Protected Overrides ReadOnly Property CreateParams() As CreateParams
Get
Dim cp As CreateParams = MyBase.CreateParams
cp.ExStyle = cp.ExStyle Or &H20
'WS_EX_TRANSPARENT
[Code] ......
These code shows the usercontrol transparent. But when the control moves I see that these control needs time to be transparent or drawing an image. Why so many time(maybe 2 seconds)? And why I can't use directions keys on keydown event? (The arrow keys are ignored).
I have a little "designing" problem in VB 2010. So, I made a cool abstract background for my application in Photoshop. And I wanted to make the form transparent and BorderLess. But, in order to imitate Windows, I also had to put in a very small black outer glow. So, I made the BackColor in a DarkGreen, then the same for the TranksparencyKey. BUT, because of the outer glow, now it looks like this:
[Code]...
I'm making a software where I need to have a transparent background in my form and then 50% transparent control. I don't know how to make the control 50% transparent without getting the back color from the form as back color.
View 3 RepliesI know you can make certain parts of a form transparent by setting the transparencyKey of the form to the color of your choice.
vb.net
Me.MdiParent.TransparencyKey = Color.Fuchsia
Me.BackColor = Color.Fuchsia
Once I set the form to be a MDI Container, it seems to just ignore that function.
On my MDI Container form I have a menu and that is the only thing I want displayed. I want the container itself to be transparent. The forms that get loaded into the mdicontainer will be shown normal.
Is it possible in VB 2010 that you can make an "App" on the desktop.Attached Image:This image is made in photoshop, but as its show at the picture, this is how it should work like in VB. Where you can see through the "battery glass". i have tried with"Opacity" and "TransparencyKey", they do not work for what I want.
View 9 Replies[code] how to make the part that drops down semi-transparent or completely transparent resembling floating text. So that I can see the form underneath.
View 1 RepliesQuestion:Is it possible to make a userform transparent but have non-transparent controls?I notice changing the opacity of the userform will change the opacity of controls embedded on it.
View 9 Repliesmy problem is simple i'm using VB 2010 and i'm trying to make a transparent images but without success i draw 2 GIF pictures in Photoshop and save it as transparent i put that GIF's in 2 pictureboxes on the form and the background of the pictures is really transparent, but when i try to put one picture in the top of the other one, the first picture cover the second one with the background color (and becuase it's transparent it's like the form color)?
View 10 RepliesI have one picturebox on form, with dock fill.I need to show one transparent picturebox on another. How can i do that?Below is sample code, but it is not showing the small picture when i make main picture transparent.I just have to show a rectangle or a circle over the picturebox, for that i am using picturebox. Is there any way other than adding piturebox to do so? or can i make the small picture visible?
[Code].....
ok, is there a simple way to make a color in an imported picture in a picutrebox transparent?
View 2 RepliesI have the most problems and questions.I have a picturebox and a label on it ... how I can do label be transparent on picturebox ? If I choose at color "transparent" show me the color of the form...
View 2 RepliesI used 4 seperate pictureboxes to load in each picture. Then I click the option to select X picture, which works. However, if I click another option, the Y picture doesn't load.I tried with:
pBox1.Visible = False
pBox2.Visible = False
pBox3.Visible = False
[code].....
I have a picturebox with a pic in it, and I have a label on top of the picture.
I want the background of the the label to be transparent, so I set it's background prop to transparent and it's parent to the picturebox. I do this on form load, but for some reason the label entirely disappears once the form loads?
I am trying to use GDI+ to merge two PNG's with transparency that I have stored in an ImageList, and then show this in a PictureBox. My PictureBox size, first image size, and second image size are all the same. I thought this would be simple but the following code does not work and I am not sure why. I have searched but I could not find any code snippets specifically dealing with PictureBoxes.
[code]...
At the moment when I click the button I see the PictureBox flicker with the image for a splitsecond.
I'm working on a UserControl which has two PictureBoxes.One has the picture I want to display to the user and the other has a picture that I use as an overlay.The overlay PictureBox uses a PNG image with a transparent background. However, every time I run the UserControl, the overlay does not display the transparent parts of the PNG image as transparent (It appears white).
View 4 RepliesFrom my understanding PictureBox's don't support transparent backgrounds. What I am trying to do is just have a single picture that needs a transparent background just to be on display with my form. So how do I do this?
View 5 RepliesI need to convert the color as semi-transparent for the picturebox to see something behind the picturebox.... Here, I have a difficult situation. When I set the image color using with the code, none of them are works. So I got them rid it. ARG!!!! I need to find the fact semi-transparent for the picturebox.
View 13 Replieshave placed picturebox in front of shockwave control and I can see the picturebox black color. I would like to know how I could use picturebox as shockwave transparent??
View 2 Replies