The OP on
this thread by wjackson153 (who credits taazz) has a little program that seems to do what you are looking for (if I am understanding what you are looking for).
1) Put 3 labels on a form and a shape and a timer
2) double click the timer to create its default event handler
3) Replace all the code in the unit with what's in the OP on that thread.
BTW I don't know if you'll have this problem but I am on windows and the program wouldn't compile until I got rid of the MouseAndKeyInput entry (and its preceding comma) in the uses clause