[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Important change in MaskBox control


Le 14/04/2026 à 14:16, Claus Dietrich a écrit :
Am 14.04.26 um 12:21 schrieb Benoît Minisini:
I tested with the very last master, and everything seems to works as expected. If I hit 'Backspace' when the cursor is just right after the ':', the cursor moves just left the ':'.
Regards,

And this is not what my version is doing and not what I expect.

Just compare how the cursor is advancing when you enter a time. It never stops left of the ":". So why (and for purpose) should it stop there when moving backwards with the backstep key? It is a useless position and the control also doesn't accept any entry in that situation. This is the reason I modified the MaskBox and regard this as a bug.

Best regards

Claus


It's not a useless position, as it's from there than you can delete the character just before the ':' with Backspace.

Otherwise, you're right, it's not logical to behave differently in that direction, except that I'm not sure that everybody will think like you.

Moreover it's more tricky with Backspace because it should behave differently according to the text direction before the separator, which may been right aligned.

I will see what I can do.

--
Benoît Minisini.


Follow-Ups:
Aw: Re: Important change in MaskBox controlFlorian Brunke <taitetao@xxxxxx>
References:
Important change in MaskBox controlBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Important change in MaskBox controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Important change in MaskBox controlBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Important change in MaskBox controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>