开发者

can not focus children of skinnableContainer

开发者 https://www.devze.com 2023-03-08 09:30 出处:网络
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

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

精彩评论

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