Quote Originally Posted by Carver413 View Post
Code:
const
    VK_UP = $26;
begin
  if key = VK_UP then ...
Tip: You can add Lcltype in uses clause of your Lazarus project, all virtual keycodes such as VK_UP, VK_ESCAPE are there in cross-platform way.