change focus in app desinger

조회 수: 3 (최근 30일)
JIAYING WU
JIAYING WU 2019년 9월 19일
댓글: Adam Danz 2022년 5월 2일
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
works math
works math 2022년 5월 2일
Is there any new progress on this issue ? Date:2022.5.2
Adam Danz
Adam Danz 2022년 5월 2일
@works math, yes! Just added an answer to update this thread.

댓글을 달려면 로그인하십시오.

답변 (1개)

Adam Danz
Adam Danz 2022년 5월 2일
> 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.

카테고리

Help CenterFile Exchange에서 Maintain or Transition figure-Based Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by