[Lazarus] MaskEdit- Fails with mask to telephone
Bart
bartjunk64 at gmail.com
Mon Oct 31 16:43:01 CET 2011
On 10/31/11, silvioprog <silvioprog at gmail.com> wrote:
> I will monitor the changes. Thank you! ;)
I submitted a patch in http://bugs.freepascal.org/view.php?id=20593
It is waiting for commit.
Let's say EditMaks is '(999)999999;1_'
If you select the first '(' in the control and press any (printable)
key, the cursor now moves forward to the next (first write-able)
position.
I also tweaked the behaviour of bacspace a little to be Delphi compatible.
Say now you have entered text like:
'(987)123456'
If you select '1' (the character in just after ')' ) and press
backspace, now the character in front of ')', in this cas the '7',
will be deleted.
Bart
More information about the Lazarus
mailing list