开发者

can not focus children of skinnableContainer

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜