Dear all,
Lazarus svn, fpc 2.2 on windows xp.
If I click on the ellipsis button of the EditMask property of a TMaskedit I get an error:
Error reading TextMaskEdit.BorderSpaging.Onchange: Unknown property: "Border Spacing"
Regards,
Andrea

Mailing lists / lazarus / 2008-04
7 messages · 5 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Dear all,
Lazarus svn, fpc 2.2 on windows xp.
If I click on the ellipsis button of the EditMask property of a TMaskedit I get an error:
Error reading TextMaskEdit.BorderSpaging.Onchange: Unknown property: "Border Spacing"
Regards,
Andrea
2008/4/5, Andrea Mauri :
Fixed in r14766
wile64 wroteFixed in r14766
I see it's fixed, but I cannot set any mask properly ?!?!? eg: EditMask = 99/99/2000
-> text: 00.00.20__
now I'm setting this value as text
07.04.2008
-> av raised -> "Error setting text ....."
What is proper usage of LCL TMaskEdit ?
zeljko wroteWhat is proper usage of LCL TMaskEdit ?
I don't know. It was received as a patch, and is undocumented. I just certifyed it isn't a copy of delphi code and then I applied it.
There are 2 ways to know how it should work.
To know how it actually works, I'd look at the code.
To know how it should work, I'd look at Delphi help files.
In any case it would be great if someone who needs to use this control would write a wiki page or documentation for this control, to easy the path of those that come later.
it takes some time ;) .
To know how it should work, I'd look at Delphi help files.
It's definitelly not compatibile with delphi masks (that's what I've tried)
In any case it would be great if someone who needs to use this control would write a wiki page or documentation for this control, to easy the path of those that come later.
Yes, wiki page is a best solution. Who's patch author ?
I see it's fixed, but I cannot set any mask properly ?!?!? eg: EditMask = 99/99/2000 ->…
Got this issue zo with the patch. It seems to be a problem with the zeros. I change the following line:
Char_Number : Result := Ch In ['0'..'9'];
to:
Char_Number : Result := Ch In ['0'..'9', #32];in the maskedit.pp.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080407/9bc2e8ab/attachment.html
it takes some time ;) . It's definitelly not compatibile with delphi masks (that's what…
zeljko wroteYes, wiki page is a best solution. Who's patch author ?
http://bugs.freepascal.org/view.php?id=10871