Delay Command
This function delays the command associated to a keyboard event. It could be useful while the user is typing inside an edit box for querying a database, so that one avoids to start querying each time a key is pressed and then the database server to be stressed after repeating commands. As the typing is over, the function is run. I'm not sure yet, but this trick could be exported to other situations where a delay is required.