View Full Version : Command Button question Please Help


joe789
06-12-2001, 05:11 AM
Hi Folks:

How can I force the <enter> key to do the exact same thing that the <tab> key does? I have a main form which has a certain tab order for input fields, then a save command button, then a print record button, then a new record button. When using tab, everything works fine and flows properly. However, I need to use the <enet> key. And when the <enter> key is used, everything works fine until the user reaches the command buttons. The user presses enter and the command never move to the next button in the sequence. Please help! Thank you!

charityg
06-12-2001, 05:48 AM
After whatever is executed for the command button force the focus to the next control.

cmdButton1 onEnter
cmdButton2.setfocus