I think you mean the left, right , up and down arrows.
You can use the Values VK_LEFT, VK_RIGHT, VK_UP and VK_DOWN in your code. They represent the follwing ascii codes:
LEFT = 37, RIGHT = 39, UP=38, DOWN=39
Note that these VK_ values are not ASCII values, and in many circumstances you can't use them in an event that expects a char, like an OnKeyPress event. Instead, you should use an event which expects a Key value, like OnKeyDown or OnKeyUp. See help on OnKeyDown and Virtual Key Codes for more info.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.