Detecting if Shift is pressed when Toolbar button is clicked

K

Kejpa

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
 
H

Herfried K. Wagner [MVP]

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

Take a look at 'Control.ModifierKeys' in the documentation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top