Posted by Stowaway on March 09, 2009Im trying to make an application that watches for the arrow key presses. Ive got it working but for some reason it only works when i hold the ALT key down.
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
case key of
VK_LEFT: label1.Caption := 'This is Left Key';
VK_UP : label1.Caption := 'This is the up key';