Limit User Input to EditField Value in App Designer
조회 수: 12 (최근 30일)
이전 댓글 표시
Hi,
I would like to limit the numbers the user can enter to an "Edit Field (Numeric)" in app designer. The value property has "Limits" that can be set but if the user still ends up entering a number for example smaller than the lower limit it will still display the number entered by the user.
So I basically want the value entered to automatically change to the lowest number possible (from Limits) if the users enters a number smaller than that.
Is writing code the only way to do that?
Thanks.
댓글 수: 0
채택된 답변
Eric Delgado
2022년 10월 21일
It's not possible because there is no callback related to a trigger like that - there is no "EditFieldValueChanging", but only "EditFieldValueChanged".
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!