[fpc-pascal] TMaskUtils.ValidateInput function: how is it supposed to behave?

Bart bartjunk64 at gmail.com
Mon Apr 18 16:51:14 CEST 2016

On 4/18/16, Michael Van Canneyt <michael at freepascal.org> wrote:

> I recently did some work on it; the class works completely wrong IMO, and I
> though to replace it completely with the functions found in the LCL.

Yep, I was going that way too (and started coding it so).
Currently FormatMaskText from maskedit (LCL) behaves better than the
one from maskutils.

The LCL implementation handles UTF8, the fpc's will (also with code
ported form LCL) only handle single byte encoding.

Maybe a version of maskutils unit based on UnicodeString should also be made?


More information about the fpc-pascal mailing list