change focus in app desinger

7 visualizaciones (últimos 30 días)
JIAYING WU
JIAYING WU el 19 de Sept. de 2019
Comentada: Adam Danz el 2 de Mayo de 2022
I have a edit box that requires user input values.
Is there a way to put the cursor in the editbox without click the box? Instead I want the user to be able to press enter key to activate the editbox and input their value.
  11 comentarios
works math
works math el 2 de Mayo de 2022
Is there any new progress on this issue ? Date:2022.5.2
Adam Danz
Adam Danz el 2 de Mayo de 2022
@works math, yes! Just added an answer to update this thread.

Iniciar sesión para comentar.

Respuestas (1)

Adam Danz
Adam Danz el 2 de Mayo de 2022
> Is there a way to put the cursor in the editbox without click the box
Yes, as of MATLAB R2022a.
See the focus function which is also reviewed in this Community Highlight.
Also see a review of the new ways to control tab order in this Community Highlight.

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by