How to use enter key? When am using two textbox then to enter the key automatically goto next form. This time am not using tab or mouse ??
How do you navigate through controls using the Enter key
Collapse
X
-
Write a method that listens for keyboard events that occur in your form.
In that method, check if the enter key was pressed. If it was, determine which control currently has keyboard focus and determine which control should get keyboard focus next, set the focus to the next control, and mark the event as handled.
-Frinny
Comment