Mega Code Archive

 
Categories / Delphi / Examples
 

How to detect arrow keys

Use the KeyDown or KeyUp events, and test for VK_LEFT, VK_RIGHT etc.