1

我有一个从 skinnableContainer 扩展的自定义组件,并且只有两个 NumericSteppers。我明确地将焦点设置在我的组件上,例如myComponent.setFocus(). 它将焦点设置为正确的第一个步进器,但是当我按 TAB 将焦点移动到下一个步进器时,它会将焦点移动到下一个组件。

我设置tabEnabled = truetabChildren=true组件,仍然没有运气。如何将焦点设置为按 TAB 的下一步?

4

1 回答 1

0

Make sure that the focusEnabled property is also set to true. You could also programatically set the tabIndex property for each tab.

于 2011-05-25T15:54:33.787 回答