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

Re: Aw: Re: Important change in MaskBox control


Le 16/04/2026 à 15:17, Florian Brunke a écrit :
Hi,
okay I will clarify this by something you can all test:
1- Use the following mask definition in a MaskBox: "!00:00"
2- now enter "12:34" into the MaskBox; you will see, every position will be OVERWRITTEN 3- next, put the cursor to the most leftposition again and try typing in new digits; you will see nothing happens, because the positions are not overwritten again.
4- now delete the whole MaskBox and insert: "11:05"
5- put the cursor just right of the ":" separator
6- type "12"; you see that theyou can insert the "1" by OVERWRITING but not the "2" (confronted by anything but "0", overwriting is blocked) 7- the same happens, resp. again nothing happens, if you put the cursor in the most left position 8- finally something special to demonstrate: delete the MaskBox contents again and insert "10:20" 9- now you will see that you can insert and OVERWRITE the segments before and after the ":" separator. So, apparently, if the right position of the segment is a "0", overwriting works. In this kind of mask I think digits should generally be overwritten in any position.
Best regards,
Florian

My bad, it was just a bug that prevented any insertion in a full slot between two separators. It does make sense only in insertion mode.

It's fixed in master.

--
Benoît Minisini.


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