Thanks for this, Bicky. I think this is a good one to include in the original textbox.
One thing though, how are you handling focus actions? Like say, returning focus to the canvas after a textbox gets the focus?
Currently, it seems to me the user is forced to press TAB to get back to the canvas, though perhaps I'm missing something.
EDIT: I realize the focus gets returned to the canvas when an OK/Submit button is pressed, but what about in cases where you're not using one? Let's say you're using the ESC key to cancel form entry. Have you or anyone else come across that need?