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~

 Respuesta aceptada

Mario Malic
Mario Malic el 11 de Sept. de 2023
MATLAB now has a focus function since R2022a that does exactly what you want.

Más respuestas (0)

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Productos

Versión

R2017b

Preguntada:

el 29 de Oct. de 2019

Respondida:

el 11 de Sept. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by