You should move focus between textboxes (or any controls on the form) with a TAB key (assuming that you have TABINDEX property for those textboxes set correctly). Backwords with a SHIFT+TAB key. ENTER key should invoke a click event for a default button on the form. If you need a custom keystroke to move from one textbox to another you need to look at KEYPRESS or KEYDOWN or KEYUP event, catch interesting you keystroks, and SETFOCUS to next textbox in chain.