App Designer: control focus on pressing Tab

10 vues (au cours des 30 derniers jours)
Anastasia Eltsova
Anastasia Eltsova le 7 Mai 2021
Commenté : Cris LaPierre le 5 Avr 2022
Can I somehow control in R2020a which form is going to be in focus when I press tab on keyboard?
Now it looks like:

Réponse acceptée

Cris LaPierre
Cris LaPierre le 7 Mai 2021
Modifié(e) : Cris LaPierre le 7 Mai 2021
Tab order appears to be linked to the order of your components in the component browser. See this answer for a way to change the order.

Plus de réponses (1)

Adam Danz
Adam Danz le 5 Avr 2022
Starting in MATLAB R2022a, AppDesigner contains a tool to assist with setting tab order there's also a new focus(c) function to programmatically set focus to a ui component c.
More info

Catégories

En savoir plus sur Desktop dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by