开发者

How to change the focus order in a custom panel with keyboard navigation?

开发者 https://www.devze.com 2022-12-14 14:12 出处:网络
I have a custom panel with some items. When one item has the focus and I want to navigate to the next item by pres开发者_JAVA技巧sing the right arrow, the focus jumps to the nearest item to the right.

I have a custom panel with some items. When one item has the focus and I want to navigate to the next item by pres开发者_JAVA技巧sing the right arrow, the focus jumps to the nearest item to the right. However, I want the focus to move to another item, determined by my own logic. How can I change the focus order?


Check it, this can be helpful:

0

精彩评论

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