[Lazarus] unit Masks vs. unit FPMasks

Bart bartjunk64 at gmail.com
Tue Feb 23 18:37:03 CET 2021


On Tue, Feb 23, 2021 at 3:27 PM Juha Manninen via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

> Does it mean the mask syntax is different? I found this:
>  http://docwiki.embarcadero.com/Libraries/Sydney/en/System.MaskUtils.TEditMask
> Is TEditMask the same as TMaskEdit? Or is TEditMask used for TMask? Can you please explain it so that I understand?
> Is it all documented somewhere?

I have copied in the past some of the TMaskEdit logic and methods to
the MaskUtils unit.
Things like SplitEditMask etc.
So, basically the behave the same (on 1-byte ANSI strings).

The code in MaskEdit unit is the father of the code in MaskUtils.
>From a Lazarus point of view, the code in MaskEdit is leading.
Fpc to some extent follows what we do here.

I do NOT want to use the code from MaskUtils in the MaskEdit unit, for
reasons I explained in my previous code.

-- 
Bart


More information about the lazarus mailing list