[Lazarus] Cross-platform virtual key codes

Vincent Snijders vsnijders at vodafonevast.nl
Mon Jun 22 07:45:34 CEST 2009


Bruce Tulloch schreef:
> Where (if anywhere) are the cross-platform equivalents to Win32's VK_*
> definitions?
> 
> For example the symbolic definition of the return key is VK_RETURN in
> Win32 (accessed by including the Windows unit).
> 
> Where are corresponding definitions to be found for the other targets
> (Linux, OSX etc) or alternatively, what is the recommended
> cross-platform way to test the value of the Key parameter of a TKeyEvent?

http://wiki.lazarus.freepascal.org/Lazarus_Faq#Virtual_key_constants

Vincent




More information about the Lazarus mailing list