Set The BackColor Of A Groupbox To Be Transparent?
Jul 14, 2009
Trying to set the BackColor of a groupbox to be transparent, but it makes it the Form's color (Control).
I have a Picturebox with a blue picture in it between the form and the groupbox, so it should be making the groupbox's backcolor appear blue.
what am I doing wrong here i'd like the circled red area transparent or the GroupBox's corners square
View 4 Replies
ADVERTISEMENT
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
Dec 2, 2010
what 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 Replies
Nov 1, 2009
How do I make a frame's backcolor transparent?
View 1 Replies
Nov 28, 2011
I know put 1 picturebox(or other object) transparent:
objectaname.Backcolor=color.transparent
but imagine that you have 1 image on it... the backcolor image, is showed.how can i hide it?
View 1 Replies
Jul 12, 2009
I've set a label's BackColor property to 'Transparent' but its just White? It's not going transparent?
View 3 Replies
May 10, 2010
I'm using a rectangle shape with gradient fill, i wanted to write some text on it using a label and set the labels backcolor to transparent, but does not work.
Anyone know if a workaround is possible?
View 7 Replies
Feb 7, 2009
on the form i have a groupbox with a few textboxes and labels inside of it. Behind the group box i have a picturebox image. I want this image to be seen around the textboxs etc.. through the groupbox
Ive tried changing the background colour in the properties to transparent but you can still see the background colour and so the groupbox covers up the picture.
I want the background of the groupbox to be completely transparent.
View 9 Replies
Oct 30, 2009
i 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 Replies
Apr 13, 2010
I 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
View 4 Replies
Apr 6, 2012
I can make the background color of the form transparent by using: "Me.TransparencyKey = Me.BackColor"
"Me.BackColor" is set to default "Control", which I think uses 240;240;240 as the color.But using that color as the transparent mask color leaves gaps in controls who are also using that color.By changing the Me.BackColor to a "rare" color this problem is fixed.What problem really is, is that using the "Control" color I get the ability to ALSO interact with whatever is behind my form, which any other custom color does NOT.
Question: Why is this?
Request: I would like to use a custom color as the transparent color but KEEP the ability to interact with whatever is behind the form, how can I make it do that?
View 1 Replies
Jun 19, 2010
I have a form and on it there is listbox. What I want to do is to make the listbox's backcolor transparent. I really do not understand. I have searched many sites but I couldn't find an exact answer. Is it really that hard to make it??? I found this code on a few sites:
[Code]...
View 1 Replies
Oct 12, 2011
i'm trying to place a label with "backcolor = color.transparent" over a progressbar, but it seems that the progressbar becomes transparent too, how can i avoid this?
View 6 Replies
Sep 18, 2009
I can't remember exactly if this is possible or not but what I am attempting I would think should theoretically be possible. I know it is possible in WPF but the company I am working for doesn't want to make the transition just yet. Basically what I want is to use a background image on a form for the background and I have a docked control on the right and left. I have set the background on both of these docked controls to transparent however it is showing the back color rather than the background image. I tried, rather than setting the background image property, to override the onpaintbackground and onpaint events and use e.graphics.draw(picture, me.clientrectangle) but it still seems to just pick up the backcolor as the true transparent background so I'm wondering if it's possible to get it to show the background image through the control rather than the backcolor of the form?
View 3 Replies
Jul 28, 2010
i have a sort of problem when i try to add some linklabels in my groupbox. I used this
Me.Controls.Add(Groupbox3)
Groupbox3.Controls.Add(FlowLayoutPanel)
I can only add 4 linklabels no matter how big is the groupbox, i tried autoscroll but nothing. How can i do to store minimum 20 linklabels in a groupbox? Here is the whole code i used:
Imports System.Net
Imports DevComponents.DotNetBar.Controls
Imports System.Windows.Forms[code]....
Is there any way, maybe with a specific reference to put a control that records what plays wmp activex and to save somewhere on your computer?
View 2 Replies
Jun 22, 2010
Here using VB .Net 2008. I seem to be having trouble getting group boxes to appear when I click a radio button.
For example:
CODE:
This indeed brings up the first radio button however I have other groupboxes underneath which with the same code will not appear when the radio button is checked.
Eg:
CODE:
The second groupbox does not appear and is directly behind the first groupbox. The Top code doesn't seem to be working either.
View 5 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
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
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
Apr 16, 2009
Can a vscrollbar be used in a groupbox. I have a group box with lots of items in it, but my program window is not long enough to diplay all of it. I wan to tuse the scroll bar in the groupbox.
View 2 Replies
Jul 22, 2010
Here is the code :Chess(z).BackColor = #FFFFFFIt is not working, how to make it work :))
View 2 Replies
Aug 26, 2010
I want to group RadioButtons, but I don't want to use the visible control GroupBox. Is there something like the Java ButtonGroup in VB.NET?
View 3 Replies
Oct 26, 2009
I have a need to add 16 radio buttons to a groupbox but I want to be able to select 2 radiobuttons per groupbox. (2 vertical columns of 8 radio buttons each) The radiobuttons are created dynamically and each set of eight have different names to distinguish them. Do I really have to create 2 groupboxes and put each set of 8 in each groupbox and put those groupboxes into my parent groupbox? Is that it with radio buttons...if they are all in 1 groupbox then there is no way to select more than one at once?
View 1 Replies
May 20, 2011
I'm using VB with VSPRO2010 I have a groupbox with its caption on the top right . I would like to place the caption on the top center.
View 5 Replies
Sep 26, 2009
okay well I want to be able to change the size of my Groupbox when I check my check box. I have tried this code and it did not work
If Checkbox7.checked = true then Groupbox1.size = (309, 446)
I don't get why this wont work, I tried others to but I cant get it to work.
View 1 Replies
Oct 5, 2011
I want to clear all of the text boxes in a groupbox without hard coding them all. I tried the following snippet, but it also clears all of the form labels which I would like to keep.
For Each TextBox In GroupBox1.Controls
TextBox.Text = ""
Next
View 2 Replies
Jul 1, 2010
i am creating dynamic Groupbox and at a time i am creating checkbox in the groupbox. it`s working properly.How can "refer" or "call" the Dynamic Groupbox and Dynamic Checkbox.Clearly , If i am creating 10 GB`s and within GB`s for each GB i am creating two checkboxes OK.Now i want to use the checkboxes some other purpose. so how can i write syntax for that...?
View 11 Replies
Oct 5, 2011
I has some checkbox created in a window form groupbox. May i know how can i find all the checkbox whether they are checked in the groupbox?
Code:
For Each ctrl As Control In Me.Controls
If ctrl.Name <> checkBox.Name And (TypeOf ctrl Is CheckBox) Then
If ctrl.Name.Substring(0, 3) = "ADJ" Then
[Code]...
I am using the above codes to find the checkbox, but it seems like not able to find the checkbox that are created in the groupbox.
View 5 Replies
Jun 19, 2009
from my main form i'm giving focus to a control dynamically to calling form for example i have 3 child form, child1, child2, child3 form main form before i call the form i give the focus to a control which is set on some condition
[Code]...
and when i call child1.controls(cntrlname).focus() it throws the error. any idea how i can give focus using above code to one of my control in groupbox.
View 2 Replies
Jan 23, 2012
In my card game program, I have used 4 main GroupBoxes to act as dialogue boxes. Some contain additional GroupBoxes to house such things as RadioButtons, TextBoxes and CheckBoxes.Software places them when and where needed, so I usually move them apart in the Design screen to keep them all visible at once. However, with each new GroupBox I added to the program, their behaviour became increasingly vexing.In the design window, they are not allowed to overlap, or they will either partially or completely disappear. When they disappear, I have to find them with the Properties Viewer (when selected, the 4 sizing blocks appear and I can tease the drag symbol to appear).Worse, when my program is running, a GroupBox left in the Design mode in an "unfavoured location" (for lack of a better term) will refuse to appear when called.
I have single stepped past the code that positions the GroupBox and makes it visible and I have noted that the top and left positions are correct, but when I let the mouse hover over the word 'Visible' in the line "GroupBox1.Visible = True" the popup reports it as False.There is nothing I can do at run-time to make the GroupBox appear. I must return to the Design window and try moving it to a more favourable location.
View 7 Replies