I don't see the behavior you are describing...what code do you have in keypress()?
BTW, I'm not sure exactly how I would attack preventing exiting the textbox on the right side...
>Nice try, but if you have jyst pressed home, and then click on a command button, the button will not activate!
Steve Gibson