472,363 Members | 2,057 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,363 software developers and data experts.

Right click, button


Is there any way to enable right click on a winform button?

Aug 18 '05 #1
4 1844
John Bailo <ja*****@texeme.com>'s wild thoughts were
released on Thu, 18 Aug 2005 16:40:33 -0700 bearing the
following fruit:

Is there any way to enable right click on a winform button?


You might want to be more specific. There's nothing stopping
you from right clicking a button ;-)

My guess is that you want to show a menu when the user right
clicks on a button?


Jan Hyde (VB MVP)

--
Quiet people aren't the only ones who don't say much.

[Abolish the TV Licence - http://www.tvlicensing.biz/]

Aug 22 '05 #2
Jan Hyde wrote:
John Bailo <ja*****@texeme.com>'s wild thoughts were
released on Thu, 18 Aug 2005 16:40:33 -0700 bearing the
following fruit:

Is there any way to enable right click on a winform button?

You might want to be more specific. There's nothing stopping
you from right clicking a button ;-)

My guess is that you want to show a menu when the user right
clicks on a button?


First, of all, I realize: I'm left handed so I've confused everyone!

My left click is my primary button and right click is my secondary.

No, it's a filter function.

So, I want left click to activate the filter and right click to clear
the filter.


Jan Hyde (VB MVP)

Aug 22 '05 #3
Hi John,

You can try set a contextmenu for the button.
"John Bailo" <ja*****@texeme.com> wrote in message
news:a7********************@speakeasy.net...

Is there any way to enable right click on a winform button?

Aug 23 '05 #4
John Bailo <ja*****@texeme.com>'s wild thoughts were
released on Mon, 22 Aug 2005 09:06:27 -0700 bearing the
following fruit:
Jan Hyde wrote:
John Bailo <ja*****@texeme.com>'s wild thoughts were
released on Thu, 18 Aug 2005 16:40:33 -0700 bearing the
following fruit:

Is there any way to enable right click on a winform button?

You might want to be more specific. There's nothing stopping
you from right clicking a button ;-)

My guess is that you want to show a menu when the user right
clicks on a button?


First, of all, I realize: I'm left handed so I've confused everyone!

My left click is my primary button and right click is my secondary.

No, it's a filter function.

So, I want left click to activate the filter and right click to clear
the filter.

Soooo... Are you asking how to determine which mouse button
was clicked on a command button?

J



Jan Hyde (VB MVP)

Jan Hyde (VB MVP)

--
Cat, n.: Lapwarmer with built-in buzzer.

[Abolish the TV Licence - http://www.tvlicensing.biz/]

Aug 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: cmelnick | last post by:
I need to determine whether the user used the right or left mouse button to click an element on a form. AFAIK, there is no way to determine this from the Click (or DoubleClick) event. I currently...
3
by: vijaynats | last post by:
I have a treeview with a ContextMenu attached. When i click on a node, AfterSelect fires but does not fire when right clicked (the context menu pops up). (Background: I have loaded a list of...
13
by: James Bond | last post by:
Hello. My 80+ year old father has recently decided to get his first computer. Due to his age (and I suspect lack of playing pong as a child like I did) he lacks the manual dexterity to use a mouse...
8
by: Patrick | last post by:
Hello - I'm working on a project to have 6 labels, each with a value of 0 - 9. Each label has a 2 buttons on the side, one labeled up, one labeled down. I want the up button to increment til it...
4
by: John Bailo | last post by:
Is there any way to enable right click on a winform button?
4
by: Pucca | last post by:
How can I tell a mouse right clicks over a listview item that's in a container panel. I only want to display a popup menu if the user right click the mouse over an item on the Listview. I don't...
8
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I disable the right mouse button? -----------------------------------------------------------------------...
18
by: Shocky | last post by:
Hi there, I am trying to detect whether my IE6 users have pressed both right and left mouse buttons simultaneously in my Javascript code, by using: if(event.button==3) {alert("Both right and...
1
by: johnnypung | last post by:
I have a treeview opening a contextMenuStrip on right click. However the right click would not select the node that it right clicks on. How should I make it so the right click will select the node,...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.