I have a custom component extends from skinnableContainer and only has two NumericSteppers.
I explicitly set focus to my component like myComponent.setFocus()
. It sets focus to first stepper which is correct,开发者_如何学JAVA but when I press TAB to move focus to next stepper it moves focus to the next Component.
I set tabEnabled = true
and tabChildren=true
of the component, still no luck.
How could I set focus to next stepper on pressing TAB?
Make sure that the focusEnabled
property is also set to true. You could also programatically set the tabIndex
property for each tab.
精彩评论