Elric Well-Known Member Licensed User Apr 12, 2022 #1 Hi everybody! Designing two or more buttons, you may navigate between them with arrows. There is a way to change the indexing? (Other than using tag property) There is a way to disable that? Thank you!
Hi everybody! Designing two or more buttons, you may navigate between them with arrows. There is a way to change the indexing? (Other than using tag property) There is a way to disable that? Thank you!
Solution stevel05 Apr 12, 2022 To stop a Node (Button, Textfield etc.) from being part of the focus cycle without disabling it, You can use: B4X: N.As(JavaObject).Runmethod("setFocusTraversable",Array(False))
To stop a Node (Button, Textfield etc.) from being part of the focus cycle without disabling it, You can use: B4X: N.As(JavaObject).Runmethod("setFocusTraversable",Array(False))
Magma Expert Licensed User Longtime User Apr 12, 2022 #2 You can change the indexing by changing the order of creation or in Visual designer, changing the order at Views Tree by Dragging them... I don't know if it is possible with some java disable focus at all. I know that you can disable them (uncheck Enabled) - so will not focus then.... Upvote 1
You can change the indexing by changing the order of creation or in Visual designer, changing the order at Views Tree by Dragging them... I don't know if it is possible with some java disable focus at all. I know that you can disable them (uncheck Enabled) - so will not focus then....
stevel05 Expert Licensed User Longtime User Apr 12, 2022 #3 To stop a Node (Button, Textfield etc.) from being part of the focus cycle without disabling it, You can use: B4X: N.As(JavaObject).Runmethod("setFocusTraversable",Array(False)) Last edited: Apr 12, 2022 Upvote 1 Solution
To stop a Node (Button, Textfield etc.) from being part of the focus cycle without disabling it, You can use: B4X: N.As(JavaObject).Runmethod("setFocusTraversable",Array(False))