VS 2010 - How To Make Control 50 Percent Transparent

Mar 10, 2011

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 Replies


ADVERTISEMENT

VB 2010 - How To Make User Control Transparent

Mar 19, 2012

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).

View 1 Replies

Forms :: Make A Label Control Transparent Over A Panel Control?

Jul 9, 2009

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 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.

View 4 Replies

Make A Label Control Transparent Over A Panel Control

Jul 9, 2009

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?

View 4 Replies

Make A Label Control Transparent Over A Panel Control?

Jul 9, 2009

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.

View 2 Replies

How To Make Transparent User Control

Oct 17, 2011

I did some research on how to make transparent User Control, The suggested code was like this:
Private Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True)
Me.BackColor = Color.Transparent
UpdateStyles()
End Sub

When I build the project, there is no errors. But, When I try to load my user control using the "Choose ToolBox Items" dialog, it gives me the following error message:
"There is no components in [dll path] that can be placed on the toolbox."

View 4 Replies

VS 2010 Possible To Make One Picturebox Transparent

May 5, 2012

is it possible to make one picturebox transparent, so you see the picturebox' picture underneath it?

View 2 Replies

VB 2010 Make The Form Transparent And BorderLess

Dec 10, 2011

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]...

View 2 Replies

VS 2010 Make Certain Parts Of A Form Transparent?

Jun 24, 2011

I 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.

View 2 Replies

VS 2010 Make Form And Picture Transparent?

Jan 7, 2012

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

VS 2010 PictureBox - How To Make Image Transparent

Oct 28, 2009

I'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".

View 5 Replies

Make Part That Drops Down Semi-transparent Or Completely Transparent Resembling Floating Text?

Oct 27, 2010

[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 Replies

VS 2010 Bringing Transparent Control To Front (over Video)

Feb 4, 2011

I'm trying to bring a transparent user control (being used as a drawing layer) to the front, over a page that will be playing video.Me.BringToFront() didn't seem to work, and when I tried Me.SetTopLevel(true) in the load, this gave me an InvalidOperationException. Here's what I have so far, sorry for the commented lines.. lots of trial and error (I'm very new, just an intern at the moment)[code]

View 3 Replies

Make Userform Transparent But Have Non-transparent Controls?

Mar 7, 2008

Question: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 Replies

Game Programming :: Make An Hpbar That Changes Color With Respect To Percent Health?

Dec 22, 2010

does anyone know how to make an hpbar that changes color with respect to percent health?ive been trying to come up with an algorithm that would give me r g b values depending on how much the character has left (%).

Supposedly if the character is near death or has low hp, the algo would out put r=255 g=0 b=0 and if mid health r=0,g=255,b=255 (or watever yellow is), and if full g=0. but i need a smooth transition

View 2 Replies

How To Make TextBox Transparent

Sep 11, 2007

Can I make TextBox transparent?

View 8 Replies

How To Make A Groupbox Transparent In VB

Mar 12, 2009

The question pretty much says it all, I've tried setting the backcolour to transparent in the properties section, but it didnt seem to work. I have a picture behind the groupbox that I need to show through it. Is there a specific way of doing this?

View 2 Replies

How To Make PictureBox Transparent

Dec 8, 2009

How can I make a picturebox transparent?

View 8 Replies

How To Make Windows Transparent

Aug 24, 2011

how do you make windows tranparent? Never Fear Spartucus49 is here

View 8 Replies

Make A TextBox Transparent?

Jun 17, 2010

Is it possible to make a TextBox transparent?

I have a form that has a gradient background and I need the textbox to allow the user to type into and it shows the text and the blinking cursor carrot when it has focus, other than that it's totally transparent, like a label.

View 1 Replies

Make A Transparent Label?

Jun 23, 2009

I 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 Replies

Make GIF Background Transparent?

Feb 18, 2011

I have hundreds of .gif images with white backgrounds that I would like to make transparent using a vb.net procedure.

View 1 Replies

Make Picture Box Transparent?

Jun 22, 2010

I use picture box to view web cam, it works. But i wan to add another transparent picture box on top with upload a picture transparent background circle . So when i open web cam there is a circle on the web cam. Is that possible? How to make picture box transparent?

View 3 Replies

Make Transparent BG Of Panel?

Jun 18, 2012

My Project is Hair Sytle simulator all I need is to transparent the BG of the Panel

View 1 Replies

Possible To Make Form Transparent?

Jul 13, 2010

Is it possible to make ONLY form transparent and other things like, panels and pictureboxes on it are set to opacity 100%? That means, panels and pictureboxes are not transparent.

View 14 Replies

C# :: Transparent User Control In .net?

Apr 28, 2009

I'm trying to make a web style button with user control. I need to make User Control's background transparent. How to do this without making controls invisible. Also I'll need transparent Label and PictureBox.

Trying to make something like this:
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.BackColor = Color.Transparent;

[code].....

View 17 Replies

Transparent Control's Background

Dec 16, 2010

I have been looking in a lot web site and forums trying to find the way to make my picturebox background transparent or catch whatever I drew on top of a transparent panel, let's explain it.
Case 1-) I trying to make an app, where the user can load onto the winform a word document(I have part this ready), then I put on top of the control where the doc. is loaded a transparent panel(this part is ready too) and the user can sing (on top the panel) then I need to get the user's draw(sing) and print it in the document.

Every time that I try to do it always I get everything that is within the panel area, then I just want the user's sing.

case 2-) I tried to use a picturebox then it works perfect, I can get just the user's sing and print it back in the document, but the problem is, I can't put a picturebox on top of the control where the doc. is loaded because then I can't see the doc.

If anybody wants to see the code to make the panel transparent, or catch whatever you draw on top the pictureBox.

View 1 Replies

Can't Make A Transparent-background-trackbar

Feb 6, 2009

This is the Trackbar in MS Office Picture Manager, I can't make a transparent-background-trackbar like it, when I tried to make the background transparent, it say that "this control doesn't support transparent color", the trackbar also always behind the toolstrip (I chose "Bring to front" from context menu).

View 3 Replies

Code To Make A Image Transparent?

Apr 7, 2009

I wish to make a bitmap image (.bmp) transparent using VB.NET code.

View 3 Replies

How To Make A Button Transparent/invisible

Mar 18, 2012

how can I make a button invisible/transparent (and still functional) without changing FlatStyle to Flat?

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved