https://kotlinlang.org logo
Title
r

Remo

07/25/2022, 12:43 PM
Hi there Quick question: How would you programatically go to the next radio button for example when Tab is pressed? It’s a row, which can hold n radio buttons. Can I access the children of a row within a
onPreviewKeyEvent
or so?
one solution would be with a selectedIndex but I wonder if there’s a more elegant approach?
m

Michael Paus

07/25/2022, 12:55 PM
a

andrew

07/25/2022, 11:14 PM
Usually you use arrow keys instead of tab for a focus group, radio buttons in a group would be together
Tab would go to the next focus group