[SOLVED] How to limit the maximum # of char in an EditBox?

Buckcherry

09-01-2009 17:40:30

Hello everybody,

I would like to know if there is any way to limit the number of characters introduced in an EditBox.

Any suggestion?.

Altren

09-01-2009 18:02:15

Use Edit_MaxTextLength in layout or edit->setMaxTextLength(...) in code.

Buckcherry

09-01-2009 20:10:03

Thank you very much. It was what I was looking for. :)

P.S.: I can't change the subject to [SOLVED], I don't know why...

my.name

09-01-2009 20:43:15

How to limit the maximum number of characters in an EditBox? <<< max len