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~

 Accepted Answer

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

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Release

R2017b

Asked:

on 29 Oct 2019

Answered:

on 11 Sep 2023

Community Treasure Hunt

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

Start Hunting!