Transparent But Clickable Button?
Apr 29, 2009
I monitor door cameras with a third party application that gives me multiple video windows for the various video inputs in the card. I want to create an application that will overlay the video windows so that each video window becomes a button I can click on to trigger some events (lock release for example).
I've managed to get something working by using the TransparencyKey of the form set to the backcolor of my button. I though I had it done, a great transparent button in the form, and handles all my click. However, there's a little issue with portability... it won't work if I have the Windows Classic theme enabled.
One of my systems is locked down with the windows classic theme. With the Windows classic theme (whether running XP or Vista), the transparency works a little too well, the mouse clicks actually go through to the underlying window and the click event never gets triggered on my application's button.
Button1.BackColor = Color.Cyan Me.TransparencyKey = Button1.BackColor
View 1 Replies
ADVERTISEMENT
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
Oct 10, 2009
I want a clickable area (that can handle MouseClickEvent, DoubleClickEvent, etc...) that is transparent, hence you can look through it.For example: I have Form1 with a bunch of buttons, text fields, etc. I want a clickable area that is over the whole Form1 (thus over all the buttons, etc).If you click this area, the clickEvent for this area should be could and not the eg: button underneath this area.Most importantly of all the area must be transparent, thus all the buttons, textfields, etc underneath the clickable area should be visible. Something like a panel or pictureBox that you could put over the buttons would be fine, but a if you drag a panel/pictureBox over a button, the button is invisible, and if you say send to back, the event of the button will be called and not that of the clickable area.I want the blue area (in this case a picture box) over ALL the buttons and textboxes, so that if you click this blue area a function should be called. This area should actually not be blue, but transparent/colourless, so that you can see the buttons underneath. If I say send the picturebox behind the buttons, then when I click on a button, the button's function is called and not the picture box's function as I want it.It is impossible for me to change all the event handlers of the buttons/textboxes etc, because I also use components that don't have the necessary event handlers that I want.
View 5 Replies
Oct 10, 2009
I want a clickable area (that can handle MouseClickEvent, DoubleClickEvent, etc...) that is transparent, hence you can look through it.For example: I have Form1 with a bunch of buttons, text fields, etc. I want a clickable area that is over the whole Form1 (thus over all the buttons, etc).If you click this area, the clickEvent for this area should be could and not the eg: button underneath this area.Most importantly of all the area must be transparent, thus all the buttons, textfields, etc underneath the clickable area should be visible.Something like a panel or pictureBox that you could put over the buttons would be fine, but a if you drag a panel/pictureBox over a button, the button is invisible, and if you say send to back, the event of the button will be called and not that of the clickable area.
I've attached an image as example.I want the blue area (in this case a picture box) over ALL the buttons and textboxes, so that if you click this blue area a function should be called. This area should actually not be blue, but transparent/colourless, so that you can see the buttons underneath. If I say send the picturebox behind the buttons, then when I click on a button, the button's function is called and not the picture box's function as I want it.It is impossible for me to change all the event handlers of the buttons/textboxes etc, because I also use components that don't have the necessary event handlers that I want. So this is the only possible method I can think of.
View 1 Replies
Oct 10, 2009
I've search for hours on Google but could find a solution.want a clickable area (that can handle MouseClickEvent, DoubleClickEvent, etc...) that is transparent, hence you can look through it.For example:I have Form1 with a bunch of buttons, text fields, etc. I want a clickable area that is over the whole Form1 (thus over all the buttons, etc).If you click this area, the clickEvent for this area should be could and not the eg: button underneath this area.Most importantly of all the area must be transparent, thus all the buttons, textfields, etc underneath the clickable area should be visible. Something like a panel or pictureBox that you could put over the buttons would be ne, but a if you drag a panel/pictureBox over a button, the button is invisible, and if you say send to back, the event of the button will be called and not that of the clickable area.
View 14 Replies
Jul 25, 2011
i'm working on Virtual K770i project - there is a picture of mobile, now i want to create clickable areas on "keypad" of mobile....I'm got idea about transparent label or something but transparency dont work on any object but Form1 - so how to make transparent clickable areas on picture box (see a picture)
View 2 Replies
Nov 6, 2010
I've got a strange thing goin on here. I'm designing a small program with Visual Studio 2010 using WPF and VB.Net but for some reason, all my buttons and checkboxes (didn't test more items) aren't clickable anymore! Even if I drag a pretty new one out of the VS-Toolbox! They've got all "IsFocousable" and "IsHitTestVisible" and "IsEnabled"-Setting set to "True". Does someone has an idea to fix that!?
View 1 Replies
Jan 19, 2012
how to create transparant button in vb.net or c#
View 3 Replies
Mar 18, 2012
how can I make a button invisible/transparent (and still functional) without changing FlatStyle to Flat?
View 7 Replies
Oct 4, 2011
I have a borderless form with its transparency key set to its background color. I have a richtextbox a little smaller than the form clinging to the bottom left corner of the form. At the top right corner of the RTB, I have an overlapping button control that's clinging to the top right edge of the form (it's overlapping the top right corner of the RTB.) The image I have selected for the button is a circle, so I changed the flatstyle to flat, made the border 0, made the mouseover and mousedown background colors transparent, and of course made the control's background color transparent.
Here's the problem... When I run the program, instead of seeing the top right corner of the RTB that is overlapped by the button through the button, all I see is the window that's behind my program's form (or the desktop if there is no background window.) I want to see that corner! It's supposed to look like a sheet of paper with a button overlapping the corner.[code]...
View 1 Replies
Jan 29, 2009
How to make a transparent button in vb.net(windows application)
View 3 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
Feb 15, 2011
I have a MDI Parent Form and some Child forms.I have some controls on MDI Parent form but as i open child form all the controls of MDI Parent form display in child forms...I m stuck with my application
View 1 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
Jul 21, 2011
[code]I can't figure out how to make those pictureboxes in flowlayoutpanel clickable. Any example will do - opening it in default picture browser, using it as panel background or using it as a picture for separate picturebox - anything will do - I simply do not know how to get the file name assiciated with the particular picturebox in the flowlayoutpanel.
View 10 Replies
Dec 2, 2009
I want to display a link in a message box. By default the text is displayed as a non-selectable string.
View 4 Replies
Apr 10, 2009
I dynamically created n amount of labels. I want them to have the same function when single clicked only they have a different number passed. I don't know how to make it so that I can click them, and run a sub/function with the number passed... If I would've made it statically, I'd just do this.
[Code]...
View 5 Replies
Jan 24, 2010
For my own amusement more than anything I am trying to create a program that has a world map then when you click on each country it leads to another form. At the moment I have the World Map as a background image on a forum, The only way I can think of at the moment is to have picture boxes but the countries are too packed together for this to work effectively and I believe that you can have transparent backgrounds on picture boxes.
View 3 Replies
Jan 7, 2010
I am working a small project where I would like the user to be able to add images to a form, specifying a URL in the tag of pictureBox, so that when it is clicked.
View 8 Replies
Oct 26, 2009
I have been able to make some dynamic pie charts. The pie charts are created on form load and are databind to a table. Now I would like to be able to click on the pie charts to open another windows form. I have searched a bit and every where they say to use the mouse down event.. the problem is that I am creating the pie chart with code and therefore when I use the:
View 4 Replies
Oct 20, 2011
This code works fine, the listbox shows the posts. But how do I get the posts on the front side show up as clickable links. Maybe not in the Listbox, perhaps in a panel or similar object? [code]
View 1 Replies
May 18, 2010
I have a visio flowchart that represents sequence of questions to enter an order. I wrote a VB 2008 program, that represents steps from this flowchart in a wizard-like questionnaire. Now I'm asked to represent this flowchart graphically in a window,and make each step clickable. Clicking on a flowchart box would open the relevant wizard page. Can someone suggest how I can accomplish this, or know of some article or example that would point me in the right direction?
View 4 Replies
Feb 28, 2012
I have a background image,how to display the clickable images over the background image by using graphycs in vb.net?
View 3 Replies
Apr 27, 2011
after pulling the data into the datagrid. how can i make the cell clickable ,like if i select any cell ,the new form should come up.
im using ms access 2007
View 3 Replies
Jun 11, 2010
heres what i have.. and i got it fully working... except.. I can't make the links clickable to open a new web browser window for some reason.. and how would I clean this up a bit too?
[Code]...
View 1 Replies
Jul 1, 2010
how do i make a button not visible but still clickable. If i set visible to false in the properties menu and then click play, i can't click the button.
View 3 Replies
Aug 25, 2009
I've got URL's appearing in a RTB as underlined and blue. When you mouse over them the mouse pointer changes to a HAND.
But clicking does not launch a browser and bring you to a webpage - how do you make that happen?
View 5 Replies
May 10, 2010
I just want to disable the TabPage3 to make it not clickable but it simply not working for me. Any idea why? I'm trying to use VB2008. :)[code]
View 13 Replies
Oct 3, 2011
May I ask a suggestion about this datagrid. I have this datagrid but it has so many column and I am going to total each and every column. If I am going to put a textbox or label, it'll be kinda difficult because it will not align to the column. Any solution you may suggest?
Another thing is this form for Daily Income. I want the form at the back (Main Form) not clickable unless I closes the Daily Income Form. So that the Daily Income Form will not go at the back of the Main Form. It is like you were saving a file on a text editor that you can't click the window behind it.
View 14 Replies