Marco Alvarado ha scritto:
I want to read virtual keys with this function, but when trying to
compile my code in Ubuntu, I can't find the unit where it is defined
(if any) on Linux.
Had the idea it was available in both platforms, indeed in read it in
a forum. Also virtual key constants are defined in LCLType.pp.
Otherwise, is there another similar function?
The KeyDown event is triggered if any key has been actuated (included
Alt, Control, etc.),
as opposed to KeyPress which is triggered by a *character* key.
Just use an OnKeyDown event and then process the Key value received.
This is fully cross-platform (except for possible bugs ;-) )
Giuliano
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives