Can anyone please help me to get the keycodes for the arrow keys in c# .net keypress events? Can you help me to get out of this check point?
best regards,
Arun.
c++keypresswinforms
Can anyone please help me to get the keycodes for the arrow keys in c# .net keypress events? Can you help me to get out of this check point?
best regards,
Arun.
Best Solution
Do you mean the KeyUp event? KeyPress doesn't get fired for Arrows and the event args doesn't have a KeyCode property but for Arrow Keys in keyUp event they are:
Keys.Up, Keys.Down, Keys.Left, Keys.right