Q: stuffing keypress to keyboard

Murmur wrote:

> How can I simulate a keypress in code?

> For example:
>  In a DBGRID I want the cursor to move to the right after
>  a user enters data and the presses the ENTER key.

Go to the Borland Delphi site and find a file called Delphi Q&A or
Delphi TI (Technical Interchange).  In one of these there is a topic
covered specifically adressing "making ENTER key work like TAB in a
TDBGrid".  If you can't find it let me know I'll dig up copies of the
files and send them to you.