Clickable Area That Is Transparent/colourless?

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


ADVERTISEMENT

Make A Transparent/colourless Clickable Area?

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

Clickable Area That Is Transparent / Colorless

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

Interface And Graphics :: Clickable Transparent Area On PictureBox

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

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

VS 2010 Making A Transparent, Clickable Button OR Label?

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

How To Create Transparent Label In Menu Area

Aug 23, 2010

I've read many articles on how to create transparent labels but it seems to me that my particular case is not covered. Very simply I have a label placed in the upper right part of the form, which in fact is part of the menu strip. The label displays some info to the user but I wish it were transparent. I've tried various methods including
lblAct.Parent = mnuMain '(or Me)
lblAct.BackColor = Color.Transparent
lblAct.BringToFront()
But cant get it to work. How I can make that label in that position transparent?

View 1 Replies

Set The Viewable Area To A Smaller Screen Area?

Jun 11, 2012

Trying to set the viewable area to a smaller screen area and have it cycle through as the person moves using collision detection to move the backgroudn image. Here is the start but its off to a bad start so far.

Public Class Form1
Dim Mapx As Integer = 600
Dim Mapy As Integer = 2000

[code]....

Basically the forum size is set to 600x2000 but the client should only allow you to view 600x600. I want it to add +1 once you "collide with a invisable box I'll add and this will redraw the screen.

View 4 Replies

Specify Actual Usable Form Area Instead Of Outside Area?

May 12, 2010

I designed a form and managed to fit graphics inside it. Picture box is 465 pixels high. Form1 is 500 pixels high. SnapShot of the screen verifies that the 500 pixel height is the overal height. It includes the upper Bar and lower frame. Is there an instruction to set the From's inner pixel size and not overal?

View 2 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

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

Why Is WPF-Button Not Clickable

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

Clickable Picture Box In Flowlayoutpanel

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

Clickable URL In A Winform Message Box?

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

Duplicated Labels Need To Be Clickable

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

Make Clickable Map Image?

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

Extend The Client Area Of Form To To The Non-client Area?

Nov 19, 2009

I guess thats what I need to do, Im trying to allow the user to right click on the top of my form, and my custom Context Menu Strip is displayed, not windows context menu strip. I guess somehow i would need to get the size and draw a rectangle on the non client area and see if the user has right clicked in that rectangle? if so how would I get the area of the non client area?

View 7 Replies

Clickable Pictureboxes That Were Added Dynamically?

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

Clickable Pie Chart (windows Form)?

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

How To Make Clickable Links From Objectdatareader

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

How To Program A Clickable Visio Flowchart

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

Make Clickable Images On Another Image?

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

Make Datagrid Cell Clickable?

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

RSS Reader - How To Make Links Clickable

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

VS 2008 Invisible Buttton And Clickable?

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

VS 2008 Richtextbox - Clickable Links?

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

Want To Disable TabPage3 To Make It Not Clickable

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

Datagrid Organization - Make Form Not Clickable

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

Javascript - DatePicker Arrows Clickable But Not Visible

Aug 31, 2011

I'm using a datepicker for a field on my form, but the arrows are not visible. If I go to the location where they supposed to be, I can click them to change the month, but the arrows themselves are not visible.

View 1 Replies

Make A DataGridViewImageColumn Clickable To Call A Function

Sep 4, 2011

I have a DataGridViewImageColumn with an image in it I would like to make the only area to perform a function of mine when I click it. I can click the row and get it to work but can't seem to only make just the imagecloumn the clickable region.

So as an example I have
Private Sub dgrdStatus_CellClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgrdStatus.CellClick
MessageBox.Show("You chose " & dgrdStatus.Rows(e.RowIndex).Cells("columnCustomerName").Value)

Works for the whole row, my issue is I only want to be able to click the imagecolumn to do this. Guessing I am missing the right item similar to dgrdStatus_CellClick but can't quite pinpoint the fix.

View 5 Replies







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