change focus in app desinger

5 ビュー (過去 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 Center および File ExchangeMaintain 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