Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 2 weeks ago
Disable tab order
Hi all,
I have quick question. Is it possible to disable tab ordering for textfield or button?
Lets say I have layout like this:
UserNameTextField -> tabIndex(1);
PasswordTextField -> tabIndex(2);
NewUserBtn -> disableTabOrder????
LoginBtn -> tabIndex(3);
and using TAB button I don't want to stop on NewUser Btn... is it possible?
Last updated on Jan, 30th 2012
Yes, it is possible.
Just set the tab index to a value lower then 0.
NewUserBtn.setTabIndex(-1)
Look at the javadoc for this method, is verry well explained how tabulation works.
Regards,
Éric
Last updated on Jan, 30th 2012
You cannot reply to this thread.