This content has been marked as final. Show 4 replies
Use the TextInput's enter event and move it to the next field:
private function moveNext( event:Event ) : void
var fm:IFocusManager = event.target.focusManager;
var next:IFocusManagerComponent = fm.getNextFocusManagerComponent();
fm.setFocus( next );
MANY thanks for your reply Peter. Much appreciated.
When the focus has reached a tabIndex of 25, I want to give focus to the item with a tabindex of 1 with something like
if (fm.getFocus().tabIndex == 1)
How do I do this please?
Thanx, the code was very helpful. But I would like to know how to move between date fields and radio buttons using the Enter key.