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

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?
 
J

Jacob Skaria

Check out KeyDown event which returns the keycode as integer

If this post helps click Yes
 

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