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~

 Akzeptierte Antwort

Mario Malic
Mario Malic am 11 Sep. 2023

1 Stimme

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

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by