App Designer: control focus on pressing Tab

11 Ansichten (letzte 30 Tage)
Anastasia Eltsova
Anastasia Eltsova am 7 Mai 2021
Kommentiert: Cris LaPierre am 5 Apr. 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:

Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 7 Mai 2021
Bearbeitet: Cris LaPierre am 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.

Weitere Antworten (1)

Adam Danz
Adam Danz am 5 Apr. 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

Kategorien

Mehr zu Desktop finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by