Right click, button

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Bailo

    #1

    Right click, button


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

  • Jan Hyde

    #2
    Re: Right click, button

    John Bailo <jabailo@texeme .com>'s wild thoughts were
    released on Thu, 18 Aug 2005 16:40:33 -0700 bearing the
    following fruit:
    [color=blue]
    >
    >Is there any way to enable right click on a winform button?[/color]

    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/]

    Comment

    • John Bailo

      #3
      Re: Right click, button

      Jan Hyde wrote:[color=blue]
      > John Bailo <jabailo@texeme .com>'s wild thoughts were
      > released on Thu, 18 Aug 2005 16:40:33 -0700 bearing the
      > following fruit:
      >
      >[color=green]
      >>Is there any way to enable right click on a winform button?[/color]
      >
      >
      > 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?[/color]

      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.
      [color=blue]
      >
      >
      >
      >
      > Jan Hyde (VB MVP)
      >[/color]

      Comment

      • Wencheng Magiya

        #4
        Re: Right click, button

        Hi John,

        You can try set a contextmenu for the button.


        "John Bailo" <jabailo@texeme .com> wrote in message
        news:a7-dnQJkktDygZjeRV n-vQ@speakeasy.ne t...[color=blue]
        >
        > Is there any way to enable right click on a winform button?
        >[/color]


        Comment

        • Jan Hyde

          #5
          Re: Right click, button

          John Bailo <jabailo@texeme .com>'s wild thoughts were
          released on Mon, 22 Aug 2005 09:06:27 -0700 bearing the
          following fruit:
          [color=blue]
          >Jan Hyde wrote:[color=green]
          >> John Bailo <jabailo@texeme .com>'s wild thoughts were
          >> released on Thu, 18 Aug 2005 16:40:33 -0700 bearing the
          >> following fruit:
          >>
          >>[color=darkred]
          >>>Is there any way to enable right click on a winform button?[/color]
          >>
          >>
          >> 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?[/color]
          >
          >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.[/color]


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

          J

          [color=blue][color=green]
          >>
          >>
          >>
          >>
          >> Jan Hyde (VB MVP)
          >>[/color][/color]


          Jan Hyde (VB MVP)

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

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

          Comment

          Working...