[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: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Wed, 15 Apr 2026 18:33:07 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 14/04/2026 à 22:38, Claus Dietrich a écrit :
Hi Florian Am 14.04.26 um 17:35 schrieb Florian Brunke: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.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 oruse arrow keys.I hope that this helps to get a common view on this issue and a common position.Best regards, Claus
Is it better with the last commit? Now 'Backspace' always ignore separators, whether they are weak or strong.
-- Benoît Minisini.
| Re: Important change in MaskBox control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| Re: Important change in MaskBox control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
| 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> |
| Re: Important change in MaskBox control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |