How to Set the number of char that input in Edit Box
I do one application ,
I want to define the number of char that user input to Edit Box (Edit box inside Dialoge)
as Example if I want to input in Edit Box 4 digit only say 1223 as example
How can I do this
Re: How to Set the number of char that input in Edit Box
There's no automatic way unfortunately. You have to capture when changes is made to the edit box and in that handler prevent entering more than 4.
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
- Brian W. Kernighan
Bookmarks