"Enter"on keyboard problem

  • Thread starter Thread starter mike33
  • Start date Start date
M

mike33

Hi,

I'm new to the board as well as programming in VB in general.
Anyways I have a problem on my Form concerning entering data into
text box.

I am able to enter data into a text box. This data goes through
validation check performed on exit.

My problem is, if the data is correct and I press "Enter" on the keypa
instead of "TAB", all other textboxes are skipped and the for
automatically loads.

What I would like to happen is if you press "Enter" on the keypad i
goes to the next textbox.


Thanks in advance for any help!!
Mike
 
Hi everyone,

I just answered my own problem.

FYI:

I did have all the textboxes EnterKeyBehaviour set to "False". So that
was not the problem.

The problem is within the commandbuttons, those are automatically set
to default on a form, so if you press enter, the command button will be
executed.

Make sure on the propery, Default is set to "False".
 
Back
Top