Filter löschen
Filter löschen

change focus in app desinger

5 Ansichten (letzte 30 Tage)
JIAYING WU
JIAYING WU am 19 Sep. 2019
Kommentiert: Adam Danz am 2 Mai 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 Kommentare
works math
works math am 2 Mai 2022
Is there any new progress on this issue ? Date:2022.5.2
Adam Danz
Adam Danz am 2 Mai 2022
@works math, yes! Just added an answer to update this thread.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Adam Danz
Adam Danz am 2 Mai 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.

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by