mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 09:29:35 +02:00
MaskEdit: don't remove the mask in FormatMaskText regardless of the "MaskSave" value in the specified EditMask.
git-svn-id: trunk@52204 -
This commit is contained in:
parent
9bc9b19188
commit
9a6c33c697
@ -415,7 +415,8 @@ begin
|
||||
if CME.IsMasked then
|
||||
begin
|
||||
Result := CME.ApplyMaskToText(Value);
|
||||
Result := CME.GetTextWithoutMask(Result);
|
||||
//Delphi 7 leaves in the mask regardless of the "MaskSave" value in the specified EditMask
|
||||
//Result := CME.GetTextWithoutMask(Result);
|
||||
end
|
||||
else
|
||||
Result := Value;
|
||||
|
Loading…
Reference in New Issue
Block a user