Arrow Up

  • Thread starter Thread starter Patrick De Ridder
  • Start date Start date
P

Patrick De Ridder

How should I check for the arrow up (or down) key
having been pressed (in order to initiate something)?

If I use keypressed and check for (char)72
I don't get the desired results.

Many thanks,
Patrick.
 
Hi Patrick,

You can use the KeyCode property in the KeyDown event and compare it with
Keys.Up
 

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

Back
Top