Making The Border Of A Vb.net Form Semi-transparent?
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
ADVERTISEMENT
Dec 16, 2011
I'm trying to draw a semi-transparent layer over my entire form when certain events occur, with a prompt in front of this semi-transparent layer (similar to the effect in Windows Vista/7 with UAC enabled)At first I was trying to use a custom semi-transparent panel, but this didn't seem to work at all. As such I'm now trying to use a child form within the form using the opacity property on the form. However, when this semi-transparent form is added to the controls of the main form and displayed, it loses it's transparency.I've got a hacky work around at the moment where the semi-transparent layer isn't actually a component within the main form, and the transparency works then, but obviously this isn't ideal and could potentially cause various issues further down the line.
View 1 Replies
Oct 30, 2009
I have a 75% transparent form and I would like the controls and elements that I place on it to be 100% opaque. I've searched but didn't turn up any results.
View 4 Replies
Jun 24, 2009
How can I make semi-transparent form, with fully visible buttons on it? I'm trying with opacity, but I can't force it to work only with form.(And I need semi-transparent form, so I can't use TransparencyKey)
View 2 Replies
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
Aug 12, 2007
I want to create a software which have a Vista-like border style. I currently created some buttons (1 per side and 1 per corner) which have a background image corresponding to their position on the form. But it requires to much CPU when I resize the window (and need a lot of code lines to works ) So, I want to know if their is a way to create a border style (and maybe to add it in the Form.FormBorderStyle enum) to make it easily tranparent, etc.
View 3 Replies
Feb 14, 2010
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?
View 2 Replies
Sep 13, 2010
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 Replies
Jan 16, 2012
I am making a 2D sports game using XNA graphics. I would like to create a drop down menu from which the user can select various tactics. The menu will be a panel so that I can add in various sliders and check boxes, and it will drop down when the user clicks or hovers over a button.
[Code]...
View 15 Replies
Apr 19, 2010
I 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 Replies
May 19, 2009
I'm trying to make a card game. So when the user tries to drag the card, a semi transparent card will follow the mouse movement until he let go of the mouse.
View 39 Replies
Aug 29, 2010
i need to know the code for making images inside my forms slightly transparent so I can still see the form behind it.
View 1 Replies
Mar 15, 2010
I want to draw a text with 32 bit transparency on a graphics object. When I try, I only get black color in the result.
If I try to draw a line with the same semitransparent color, it works perfectly.
I have this code:
lBitmap As New Bitmap(32, 32, PixelFormat.Format32bppArgb)
lGraphic As Graphics = Graphics.FromImage(lBitmap)
lGraphic.SmoothingMode = SmoothingMode.HighQuality
[Code]...
I was thinking it may be that SolidBrush does not support transparency, but I found a predefined brush named Transparent (Brushes.Transparent) that was a SolidBrush when I looked at it in debug. I tried to use Brushes.Transparent as the brush when drawing the text, and it was successfully not showing at all. That means I get full transparency to work, but not partial transparency.
View 2 Replies
Nov 18, 2008
how i can make a picture box with an image in semi transparent like a watermark that you can see through to what is behind it.
View 4 Replies
May 26, 2010
I have a semi-transparent custom control in vb2005 - works fine, except I can't get it to update/refresh correctly. If I update the custom parameter _backgroundColor, the control appears to be overpainted - e.g. each attempt to update the colour of the control overpaints the existing colour - until it becomes a solid block of colour. However, forcing a refresh of the form makes the control display the correct colour. Any ideas? I don't want to have to repaint the form just to get this control to render correctly. Code for the custom control is below.
[Code]...
View 1 Replies
Sep 29, 2009
How to set the BUTTON border line color transparent? Because my BUTTON background pic is not a square. So when i click the button i will see the border line ..
View 2 Replies
Sep 17, 2011
how can i create a monochrome bitmap from a semi transparent bitmap in vb.net? the bmp is for a transparency mask image for an icon i'm trying to create with the CreateIconIndirect API function.
i'm using vb2008 .Net3.5, but i would prefer an answer that would also work in vb2005
View 9 Replies
Mar 21, 2009
How would I make my own custom border style? I want to make my own so that the program looks better and havign its own close/minimize button would be awesome also. Here is what I mean by it:[URL] notice it doesnt use the normal xp or vista bar it is its own? How would I go about doing that?
View 3 Replies
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
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
Mar 20, 2010
I am making a program, witch should gray the screen. But like a 66% transparency. So the background should be 66% transparency but all the text and images in the program should just be 100%. How can i do this?
View 2 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
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
Sep 17, 2010
i have a simple VB probject, the main form is an MDI parent.
The form is maximized and the background color is set to black.
control box is turned off, but the form still has a white border around it i want to turn the border off, i just want the form black and maximized
View 1 Replies
Aug 4, 2009
I am using vb express 2008.How I can have border around a Textbox or Label and change the color of border. Like we have different border styles and colours in MsWord and other applictions. Also how a Lable can be made transparent?
View 4 Replies
Nov 15, 2010
How we can create a form with border like calendar border. I changed ControlBox to False and Text to vbnullstring. but only when FormBorderStyle is Sizable or SizableToolWindow form border apears. This form is sizable. Is there any way to create forms with this border but not sizable? I want to create form like this:[URL]
View 6 Replies