Hi All,

I am writing a little game in Delphi and the main screen of the game is a standard TImage. Actually I'm using a custom font to draw the image (but that's another story). What I need to know is what is the best way for me to capture keyboard input

Currently I am using a multitabbed form with the TImage on one of the tabs (and settings on another tab). I am also using a TEdit box to provide me with keypressed events (for testing)... but this seems like a clumsy way for me to do it. Is there another way that I can get keypressed events on the form without needing to place a Tedit or similar on the form (as I don't really want to have a tedit on the form... I am just using it to give me the keypressed events for testing).

Sample code (fragments) would be appreciated.

Regards,
--- Peter W.
Canberra, Australia