[Lazarus] Key codes

Marc Weustink marc at dommelstein.net
Thu Sep 9 23:47:23 CEST 2010


dmitry boyarintsev wrote:
> 2010/9/9 Alexander du Plessis <alexdup.main at gmail.com>:
>> Where do I find the VK_ keycode constant definitions that could be used in
>> KeyDown events?
> 
> LCLType unit.
> 
> You could found in your self. Type any VK_ constant, i.e. VK_UP. Right
> click on the VK_UP and select Find Declaration in the context menu.
> This will bring you to the constants list.

Except if you don't have the LCLType unit in your uses clause yet ;)

Marc





More information about the Lazarus mailing list