File Exchange

image thumbnail

Setting Maximum numer of Characters in edit box

version (1.51 KB) by 123456
Shows how to limit the number of characters in an edit field using simple GUI programming.


Updated 29 Oct 2013

View License

This program shows how to limit the number of characters that can be input in an edit box, without using JAVA.

By default, calling limit_text() without any arguments will open a figure window with an edit box in which a user can only type a maximum of 8 characters.

Calling limit_text(n) will open a similar window but with the maximum number of characters set to n.

Comments and Ratings (0)


Fixed the title

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux