Detecting if Shift is pressed when Toolbar button is clicked

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

    Detecting if Shift is pressed when Toolbar button is clicked

    Hi!
    How can I detect if Shift (and/or Ctrl and/or Alt) is pressed in the click
    event of a ToolBar button?

    TIA
    /Kejpa


  • Herfried K. Wagner [MVP]

    #2
    Re: Detecting if Shift is pressed when Toolbar button is clicked

    "Kejpa" <kSjPeAlMl@saj. fi> schrieb:[color=blue]
    > How can I detect if Shift (and/or Ctrl and/or Alt) is pressed in the click
    > event of a ToolBar button?[/color]

    Take a look at 'Control.Modifi erKeys' in the documentation.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


    Comment

    Working...