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~

 Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Produits

Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by