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
 
Back
Top