I did get '>cccccccccc' to work for me but I don't like the underscore they used as character placement.
The sample is from this website.
http://www.delphigroups.info/2/70/41095.htmlThis is part of the chat.....
Yes, that's because of the 'a's. Change it to 'c' to accept any character, or 'l' to accept only alfas. Uppercases to *require* input.
Examples:
'>aaaaa;0; ': accept up to 5 alfanumerics converted to uppercase
'>LLLLL;0; ': requires 5 alfas converted to uppercase
'<CCCCC;0; ': requires 5 chars converted to lowercase (<);
'>LL<CCCC<>ccccc;0; ': requires 2 alfas (converted to uppercase), followed by 4 required chars (converted to lowercase), then permits up to 5 chars (case as entered); etc...
The 0 (zero) after the first semicolon is for 'do not save literal chars' (there are none in the examples anyway) and notice the final space after the second semicolon, which is to avoid a marker as long as the picture (default underscore).
For all other possibilities (numerics only, signed numerics, required or permitted etc...), search for EditMask in the help-files.