Making A Control "disappear" Behind Another Transparent One?
Sep 17, 2011
The "This is a test......" text is a label, that is the child of a Canvas. The Canvas is the child of the horizontal StackPanel that also has the blue Canvas with the team records on it as well as the team logo images and the team name labels. The black line is where the Canvas that holds the "This is a test....." label starts.I wan't the "This is a test....." text to roll from right to left, but the problem is that because all the controls on the StackPanel are transparent, the text doesn't "dissappear" underneath them, even when they leave the area of their parent control. How can I make them do that? ZIndex isn't the answer because my problem is not which control is on top, but instead the fact that the controls "above" it are transparent.
View 1 Replies
ADVERTISEMENT
Aug 20, 2010
I know this may sound really difficult and annoying to complete but all i need is a form which has no borders at all,just some text floating topmost of all screen like a screensaver i tried adding a text but it still has a white background behind it and it looks like a sign instead of Floating Letters with no background at all also note that i dont want a form with a square border around it,because thats what it look like when i added form border style to none
View 3 Replies
Aug 23, 2011
i have taken some Group Boxes and Panels within my form,
as mentioned now i want to make just transparent these containers
i mean it(container) just hide itself and illustrates its controls and also
it's background containing form.Mohammad Arif Mustafa arif_mustafa@live.com
View 3 Replies
Jan 19, 2011
I am trying to make some Text in a Textbox become Transparant gradually to the point where it disappears - it this possible in VB08 Express?
View 3 Replies
Mar 27, 2010
I have 4 different panels, which I want to appear in the SAME spot on the form at different times. Currently, I've just got all four stacked on top of each other in the designer, and I'm toggling their visible properties to show each. This is becoming extremely difficult though, as now I have different buttons in each panel, and the panels keep getting accidentally put inside each other when I move them.
View 7 Replies
Jan 8, 2011
Is there any way to embed a vb.net form to another vb.net form. What I am trying to do is to make Form-A semi-transparent and Form-B as the embedded main form. So that the final application has a semi transparent border around it . Also I don't want to use a MDI form.
Edit: How to make the border of a vb.net form semi-transparent without using MDI form.
View 2 Replies
Oct 17, 2010
I have a few pictureboxes that move and contain an image of a fish. When they overlap, I would like to be able to see one fish under the other fish.I have made the background (white) of the image transparent in photoshop and the background color of the form seems to show through the background of the fish image, but when 2 fish overlap, ones background covers up the other.
View 1 Replies
Feb 7, 2012
I have a rectangle that I dynamically draw in a Window. Said Window has a background with it's opacity set to 0.4. I'd like to make the area inside the rectangle completely transparent (see what's behind the window).
Here is the code of my Window :
<Window x:Class="TakeAScreenzone"
xmlns="[URL]"
xmlns:x="[URL]"
Title="PloofTAS" Height="355" Width="539" Topmost="True"
[Code] .....
View 2 Replies
Oct 22, 2010
I have a userControl with a picturebox in it. I need the areas of the userControl to be transparent and unclickable on the main form. After some searching Ive come up with this. [URL] but it doesn't seem to work. I have it set up so the usercontrol can be drag-and-dropped. but I dont want transparent areas to be dragable.
View 1 Replies
Oct 28, 2011
First post here, so I have no clue if this is the right place to ask this or not, but it looked like it.
Anyways, what I'm trying to do as an exercise is make a roulette game. I decided it would be best to put my buttons ON the actual table itself, so that the player can click which one he wants to bet on, and it'll bring up an Input Box asking how much he wants to bet, and yeah.
So, I tossed a button on there, set the parent to the picturebox of the roulette table, set the back color to transparent, and got rid of the text. Lo and behold, it's transparent!
View 13 Replies
Jun 12, 2011
how can i disable from the panel the user control if another user control is selected from menustrip???
here is my code at the moment
Private Sub LabToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LabToolStripMenuItem.Click
[Code]......
View 3 Replies
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
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
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
Sep 28, 2010
Certain areas of my tab control have become what seams to be transparent using Visual Basic Express 2010. I can rearange items in the tab, except in certain blackhole like areas. When I move a item within the blackhole area or move a item to the blackhole area it disapears to another tab. I can move items out of the blackhole region and they sit where I put them.
View 2 Replies
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
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
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
Aug 6, 2009
Im working on in VB.net. Basically I�m trying to create a nice looking control that draws several PNG images (stars in this example) that light up as you hover the cursor over them. This side of things is working perfectly (see picture 1).
[URL]
The problem is trying to make it work using a transparent background for the control. I can make the control transparent by setting the controls back color and using Me.Setstyle to enable transparency support, but every time the image refreshes to show any lit stars it repaints over the stars again � making the shaded areas darker each time. This results in a horrible mess (see picture 2).
[URL]
Next I tried to clear the background each time a repaint occurs so that the stars are drawn on a blank canvas each time to stop this problem. The only way I know how to do this is to use graphics.clear(Color.Transparent) before my code to paint the star images. But this does not work as the control shows a black background instead of a transparent one (see picture 3)!
[URL]
away the background to leave me with a transparent canvas to paint images onto? And is anyone smart enough to come up with a solution to this irritating issue?
View 9 Replies
Nov 14, 2011
I am looking for a VB control that operates as a more or less transparent or semi-transparent ruler or bar that can be scrolled up and down the form over an invoice or letter, so that the user can see what is under the ruler/bar and thus stop scrolling when he reaches a certain point.
To give a bit more detail of what I am looking for - such a bar is used when someone is setting the focus on a line of a long list of items so that they know where they are all the time. Most people would use a ruler on a paper list to keep track of how far they have progressed down the list. It would be nice though to have the "ruler" or bar as semi-transparent so that the user can see under where he is at on the list or form.
View 2 Replies
Mar 24, 2012
i know that VB.net and above don't use true transparency(and maybe true opacy) except forms, but even them have 1 visual bug. because if the we put the backcolor igual to transparent key, the picturebox is transparent... but give us a form hole.i found several codes that do transparency, but i see 1 problem on them, because the control needs time to be transparent.[code]some codes(that i founded on internet) are diferent but give us the same result.can anyone explain to me why the control needs so many time to show transparent?(i have tested using the keyboard to move the control, and i see the control is like visible and then hide and then visible. and if i continue click on key, the control isn't showed until i release the key)
View 7 Replies
Jan 9, 2008
I'm back, and now with a great problem...I need to put a TrackBar in my application, in a Panel with an ImageBackGround... but the TrackBar doesn't work with Transparent Background...Now I want to build my own TrackBar Control, but support the Transparent Background...I read in some page that I need to use CustomDraw... to customize te aparience of my TrackBar... but I can't undertand how..
View 3 Replies
Dec 27, 2008
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 Replies
Oct 31, 2011
I'm pretty much out of ideas here... for everything else, setting the background color to Color.Transparent or setting the TransparencyKey works fine...
I have an mp4 Video which I need to play as a "background" of my form. To do this, I'm currently using the WMP control. My problem: I can't add any controls on top of it, since they always render a background. Which looks ** on the video...
View 2 Replies
Aug 18, 2010
I have transparent form with a panel on it also set with a transparent background so you can see rite through it
what im trying to do is when you put the mouse over the panel it displays a picture and when the mouse leaves the picture goes away..the problem is that it doesnt detect the mouse when its over the panel. if i make the form background non-transparent it detects it just fine but i need it to work when both the form and panel are transparent
View 3 Replies
Nov 7, 2010
I am working on my game maker and I need to make it so that a picturebox with a transparent image will show the control behind it, like if the control has a image or just a color.
View 12 Replies
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
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
Aug 3, 2011
I am trying to use a background image for one of my programs and I get this error when I try to make the BackColor Transparent. It allows me to use the Background image I want but I get this error when I try to change the BackColor to Transparent. A Box pops up that says "Property value is not valid.", then when I click Details, it says "Control does not support transparent background colors."
View 9 Replies
Dec 3, 2008
I am attempting to write a simple 11ball style game. It requires images of poolballs overlapping each other. Since the balls will need some internal intelligence I was hoping to create them as usercontrols.I am having trouble gettiing the control's background to be transparent.Setting the background color to (Web) transparent only makes the background clone the form background color.
View 1 Replies