[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: Tue, 14 Apr 2026 12:21:12 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 14/04/2026 à 12:11, Claus Dietrich a écrit :
Dear Benoit Am 12.04.26 um 23:37 schrieb Benoît Minisini:The MaskBox control was not reliable, so I rewrote its management code in the master branch.Tell me if it is better now than before.I tested the new MaskBox (commit e339265) and found, that it doesn't work as I would expect.This is my use case: With MaskBox1 .Mask = "#0:00" .placeholder = "00:00" .Alignment = Align.Center .ShowDefault = True End WithEnter a time (mm:ss) and use the backstep key to move back to the mm section - it should ignore the ":" separator and jump directly into the mm section.I attached a snippet with the MaskBox modified by me for comparison. It is still not perfect because it doesn't handle the left arrow key yet as I would expect.Best regards Claus
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, -- Benoît Minisini.
| 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> |