Transparent Label And Panel?
Jan 27, 2010How to transparent label and panel?
View 11 RepliesHow to transparent label and panel?
View 11 RepliesI'm trying to make a label control transparent over a Panel control.However by setting the background colour of the label to Transparent, it actually sees right through to the form itself, not the panel as intended.
As an example we use a panel with a background as white, we make the label transparent, however it gets the form�s colour as blue.However, we are using a custom panel control and need the label to be transparent over the panel and not see the forms background.
I'm trying to make a label control transparent over a Panel control. However by setting the background colour of the label to Transparent, it actually sees right through to the form itself, not the panel as intended.
As an example we use a panel with a background as white, we make the label transparent, however it gets the forms colour as blue. However, we are using a custom panel control and need the label to be transparent over the panel and not see the forms background. Is this possible?
I'm trying to make a label control transparent over a Panel control. However by setting the background colour of the label to Transparent, it actually sees right through to the form itself, not the panel as intended.
As an example we use a panel with a background as white, we make the label transparent, however it gets the forms colour as blue. However, we are using a custom panel control and need the label to be transparent over the panel and not see the forms background.
My Project is Hair Sytle simulator all I need is to transparent the BG of the Panel
View 1 RepliesI don't know what is wrong here. Firstly It is Winforms application using .net 2.0.
I have a Panel (backcolor set to Transparent, I want it to be see-through).
At run-time I want to overlap this panel on controls, show a new panel over it (as to make it feel like a model dialog). but the panel is not rendered transparent.
I am trying to create two semi transparent panel.When I click on panel 1, the color is semi-transparent red. Panel 2 will become semi-transparent green. When I click on panel 2, the color is semi-transparent red. Panel 1 will become semi-transparent green.
Using class below:
Public Class TransparentPanel
Inherits Panel
Private mIsActive As Boolean = False
Public WriteOnly Property IsActive() As Boolean
[code].....
When I click on panel 1, it is semi-red, when I click on panel 2, panel 1 become semi-green. When I click back on panel 1, it seems to draw the semi-red on top and make it not semi-red but more red. The more click I do, the transparent is gone. Is there a way to drop the graphics and repaint it with semi-red? OR, is there a way to restore the graphics to its original state in semi-red? OR, is there a way to clear the graphics and repaint it with semi-red?
I have a forms app that contains a panel. This panel contains an picturebox - the user can then drag the picturebox image.
I need to add an image? in the panel that will not move when the user drags the picturebox image.
This image? needs to be transparent so that the picturebox image can be seen though it when drag occurs.
I've tried drawing directly on to the panel but nothing appears. Perhaps what I am drawing is behind the picturebox?
I'm trying to create a simple transparent PANEL control. I want to create a custom control based on the existing Panel Control with a property added called "transparent" which can be set to true or false. If it's set to true it's transparent(not invisible). So if I place it over some controls in a form say a button or text box... they are visible but disabled.
View 2 Replieshow to become transparent a label?
View 1 RepliesI have a problem with 2 label, the background is not transparent, I set both BackColor = transparent, but nothing, they don't work. Both Label are located inside a panel, here is the picture so you can better understand:How can I do?
View 1 Replieswhat shall i do if i want to make a label's backcolor transparent or even just looking like transparent? VB.NET doesn't support transparent label backcolor.
View 11 RepliesI searched the forums and most of the topics involving this seem to be for Compact Framework. I need a transparent text label which shows an object directly beneath it. In this case, a rectangle. (Visual Studio 2010) I noticed that when I set the label background to transparent it shows the form bg instead of anything between the label and the form. How can I work around this without setting my form background to an image? If I were to make a custom control for it, how would that be achieved?
View 5 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'm new to VB 2005. I've worked with VB5 for many years. I can't find anyway to make my text boxes and labels transparent in VB 2005 as I could in VB5(Backgrounds).
View 3 RepliesI have successfully implemented a gradient function that makes my forms visually attractive. However, whatever I do I cannot make the labels or textboxes truly stransparent so that the forms colour (gradient) shows through.
View 38 RepliesIs there a way to make a text/label transparent or another way to show text over a picture (photo)With transperant bagground
View 5 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 am working currently on a watermark maker and I would like to know how to make a label see through. For example a form can have opacity out of a houndred, so I'm asking how can I do something simular to this in visual basic.
View 1 RepliesI am using a picture box to load an animated gif as a background on top of my form (same size as the form). On top of that I have a standard label with some text. I have made the label background transparent but it doesn't display correctly with the animated picturebox behind it. The label background is transparent but it doesn't draw the animation correctly under it. It almost looks like it is drawing it at a few frames behind. Now, I know I can draw the text on the animated picturebox by hand (I have done that before) but I am not sure it is possible this time because the labels are part of custom controls.
View 4 RepliesI would like to set the label background to none where I could see the shockwave behind the label, but I couldn't be able to do that. How can I set label background to none so I would easily to see the shockwave?
View 1 RepliesQuestion 1: i can't manage to get the back of a label to be transparent, so i can see an image underneath.
I have this
CODE:
And it isn't working...
Question 2: I have removed the border of the form, but want to have what is left (the main content) to be a particular shape. Is that possible or do i have to have it rectangular?
I've set a label's BackColor property to 'Transparent' but its just White? It's not going transparent?
View 3 RepliesI have a WebBrowser control that displays a web page, and I need to add some graphics as overlay on this page.
My research indicates that I should add a transparent panel over the WebBrowser, then add graphics to the panel.
No matter what I tried, it never works.
Public Class Form1
'------------------------------
' Show any web page on the form
[Code].....
I made a lot of letters, and I set all of thiers background color to Transpert. I STILL don't see any transperancy, because when I put "one letter on the other one", i can see thier background.
View 4 RepliesHow to make label transparent? I want to make the percent progress on top of the progress bar, I tried transparent but it didn't working.. It has white backgroundthe code is like this
Public Class Form1
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
[code].....
I've read many articles on how to create transparent labels but it seems to me that my particular case is not covered. Very simply I have a label placed in the upper right part of the form, which in fact is part of the menu strip. The label displays some info to the user but I wish it were transparent. I've tried various methods including
lblAct.Parent = mnuMain '(or Me)
lblAct.BackColor = Color.Transparent
lblAct.BringToFront()
But cant get it to work. How I can make that label in that position transparent?
how to make the label box as transparent....
View 5 Repliesi have a label and from its properties for Backcolor i choose Transparent... However is always the control color why is that? I have a background and i need the label to have the background`s color..
View 6 RepliesHow yo make a transparent label in vb 2008 express? I want to put the label over a imagebox.
View 15 Replies