General information
Category:
Coding, syntax & commands
Title:
Problem with setfocus used in keypress event
If I use the keypress event to run code on nKeyCode = 13 the keystroke is performed in the next field entered. If the next object in the tab order is a command button, the click event is triggered. If I want to move the focus to a text box which is not next in the tab order using setfocus, on arriving in the desired field I get an unwanted "return" moving me into the next object in the tab order. I would be grateful for any help.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only