[Gambas-bugtracker] Bug #2293: MaskBox deny enter float number using mask
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Sat Jul 24 01:08:46 CEST 2021
http://gambaswiki.org/bugtracker/edit?object=BUG.2293&from=L21haW4-
Comment #16 by Benoît MINISINI:
To get the numeric separators, you have to extract them from the result of Format().
For example, something like that:
- Replace(Format(1111, ",#"), "1", "") will return the thousand separator.
- Replace(Format(1.1, "#.#"), "1", "") will return the decimal separator.
Anyway, the MaskBox control was never intended to edit numbers intelligently.
What is needed is a new and different control.
More information about the Bugtracker
mailing list