Command Button question Please Help (1 Viewer)

joe789

Registered User.
Local time
Today, 18:29
Joined
Mar 22, 2001
Messages
154
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

Registered User.
Local time
Today, 18:29
Joined
Apr 17, 2001
Messages
634
After whatever is executed for the command button force the focus to the next control.

cmdButton1 onEnter
cmdButton2.setfocus
 

Users who are viewing this thread

Top Bottom