>I was almost there with the form's keypreview and keypress event until the browser control got in the way :)
...because it HAS the control. I wanted to add "unfortunately" but then maybe not - it's just as it is and we better put it to use. It has its own ways, we can just do things by those ways.
>BTW, do you have any suggestion as to what javascript event I should investigate for a keypress?
What Nadya said. Though I'd rather go with OnKeyUp(), if such a beast exists. Just in case user is used to the Windows (or others' too?) standard of reacting on where you left off (key up, mouse up) rather than where you came in, so if you click in a wrong place you still don't have to endure everything that follows, if you move the mouse (or press another key) before lifting your finger off the key.