So then how to a get arrow keys to control a spinbutton?

  • Thread starter Thread starter Benjamin
  • Start date Start date
B

Benjamin

Microsoft stated:

The KeyPress event procedure fires only when a character key is pressed.
Character keys are:

•Any printable keyboard character
•[Ctrl], combined with a character from the standard alphabet
•Y
•[Esc]
The KeyPress event does not occur for these keys, however:

•[Enter]
•F
•An arrow key
•A keystroke that causes the focus to move

So then how to a get arrow keys to control a spinbutton?
 
Check out KeyDown event which returns the keycode as integer

If this post helps click Yes
 
Back
Top