Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
How can I make the focus change to the next control when the enter key is pressed for example in a TextField?
Is there a JavaScript method to automatically focus the next control in tab order?
Actually it is quite easy. Just add a signal handler to the TextField:
@TextField { id: txt Keys.onEnterPressed: { txt.nextItemInFocusChain(true).focus = true } }@