App Designer: control focus on pressing Tab

11 visualizaciones (últimos 30 días)
Anastasia Eltsova
Anastasia Eltsova el 7 de Mayo de 2021
Comentada: Cris LaPierre el 5 de Abr. de 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:

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 7 de Mayo de 2021
Editada: Cris LaPierre el 7 de Mayo de 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.

Más respuestas (1)

Adam Danz
Adam Danz el 5 de Abr. de 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

Categorías

Más información sobre Desktop en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by