mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 12:29:30 +02:00
LCL, fix 'Error reading MaskEdit1.Text: Error setting text...' when editmask has three fields
git-svn-id: trunk@15988 -
This commit is contained in:
parent
372a7016a7
commit
ab5c54df8e
@ -596,7 +596,11 @@ begin
|
||||
if isMasked then
|
||||
begin
|
||||
S := '';
|
||||
for I := 1 To Length(FMask) do S := S + ClearChar(I);
|
||||
for I := 1 To Length(FMask) do
|
||||
if FMask[I]=';' then
|
||||
break
|
||||
else
|
||||
S := S + ClearChar(I);
|
||||
inherited Text := S;
|
||||
CurrentText := S;
|
||||
FPosition := 0;
|
||||
|
Loading…
Reference in New Issue
Block a user