[Gambas-bugtracker] Bug #2293: MaskBox deny enter float number using mask

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sat Jul 10 04:43:13 CEST 2021


Comment #6 by Benoît MINISINI:

I reworked that. Now the text you set must match the mask. If it is smaller than the mask, it is automatically completed with the default character.

For example, setting "30" with a "####0!<.0000" will set the MaskBox contents to "30  0.0000". You must add the spaces before to get a useful result ("   30").

Anyway, if you want a field to enter numbers, you must use a ValueBox instead.

Is it OK for you?

Benoît MINISINI changed the state of the bug to: NeedsInfo.

More information about the Bugtracker mailing list