469,358 Members | 1,639 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,358 developers. It's quick & easy.

Right click, button


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

Aug 18 '05 #1
4 1725
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by John Bailo | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.