How to limit editfield length and auto shift cursor in App Designer

I have two editfields in App Designer, now I want to limit the editield length to 2, I mean when I input 2 characters in editfield A, I want this editfield to input no more and auto shift cursor to next editfield. how to do that? Thanks~

 採用された回答

Mario Malic
Mario Malic 2023 年 9 月 11 日

1 投票

MATLAB now has a focus function since R2022a that does exactly what you want.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

製品

リリース

R2017b

質問済み:

2019 年 10 月 29 日

回答済み:

2023 年 9 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by