N
Nikolay Petrov
I have a form with two text boxes and a two buttons.
I want when a user press Enter key when in first text box, the focus moves
to the second and agian when in second and the enter key is pressed the
focus moves to the one of the buttons.
I have done that, and it work fine, but my Form has an Accept button set to
this first button and every time the user presses Enter the button's code is
also executed.
How to prevent this?
I want when a user press Enter key when in first text box, the focus moves
to the second and agian when in second and the enter key is pressed the
focus moves to the one of the buttons.
I have done that, and it work fine, but my Form has an Accept button set to
this first button and every time the user presses Enter the button's code is
also executed.
How to prevent this?