0 Replies Latest reply on Jan 21, 2007 9:50 AM by scsherwood


      I have an application where I have 5 textFields in a row that the user will enter numbers in sequentially. Each textField has an onKillFocus function that checks the number for validity and removes it if the number is not valid. I would like the cursor to remain in a textField where the number was deemed invalid and then removed rather than tabbing to the next textField. I haven't been able to figure out how to do that. I can't seem to get Selection.setFocus or FocusManager.setFocus to send the text field back to the previous textField where the number was erased. It would be nice if there was a way to completely intercept the TAB function and then programmatically determine where Tab should send the cursor. Does anyone know a way to do this?

      I hope this explanation makes sense. Thanks for any ideas you might have.