[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Important change in MaskBox control
[Thread Prev] | [Thread Next]
- Subject: Re: Important change in MaskBox control
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Tue, 14 Apr 2026 22:38:43 +0200
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
Hi Florian Am 14.04.26 um 17:35 schrieb Florian Brunke:
Users that came previously from MS Office applications, for
instance, are used to maskboxes where every single position in the
predefined mask is just overwritten by typing characters or
digits. This happens in "forward" direction. Using backspace,
characters are deleted and replaced by the placeholders and the
cursor is moved left.
Either way the separators are just ignored as if they weren't
there. That is the fastest way to insert data in specified
maskboxes that I can think of, as it is not necessary to click or
use arrow keys.
To refresh my memory and for comparison I just tried the Microsoft
MaskEdBox of Visual Basic 6 (where I came from long time ago). As
expected and as you say - it is behaving as if the separator wasn't
there, which is also true when using the backspace key. I fully agree
with you that this is the fastes way to operate such a control. But this
is not what the Gambas MaskBox is doing when using the backspace key. It
makes a stop-over just left from the separator. So I have to press the
backspace twice to delete the next left digit when it passes the
separator. This is the reason I modified the MaskBox and propose to
adopt my change.
I hope that this helps to get a common view on this issue and a common position.
Best regards, Claus
| Re: Important change in MaskBox control | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Important change in MaskBox control | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: Important change in MaskBox control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Important change in MaskBox control | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: Important change in MaskBox control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Important change in MaskBox control | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Aw: Re: Important change in MaskBox control | Florian Brunke <taitetao@xxxxxx> |