hi all,

can someone help me out with an example or a pointer or something to
how to do keyboard processing.

i'm using TApplication.AddOnKeyDownHandler() to catch keyboard events
in my application.

my event fires.

my problem is, i have no idea how to implement key handling code.

i assume that the information i need/want is in the argument of "Type
Word" that gets passed to my event handler (along with the modifier).

i don't see any "helper" classes or unit functions that help me
process those events into something that i can write some code around
for dealing with different keypresses.

i took a look at the "Keyboard" unit, but that units looks like it is
designed/intended for doing keyboard handling "closer to the metal".

can someone point me at a basic snippet or some doc that shows me how
to deal with the paramters in the event callback to get meaningful
keypress information ?

thanks,
Tony

--
X-SA user ? 0.4 is out !
http://x-plane.dsrts.com
http://games.groups.yahoo.com/group/x-plane-foo/

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to