[Gambas-user] MaskBox Idea complement
Benoît Minisini
gambas at ...1...
Thu Jan 6 15:53:35 CET 2011
> Hi!
>
> The maskbox mask property accepts
>
> Sample
>
> MaskBox.Mask = gb.date -> to set mask to system date format (dd/mm/yy,
> dd-mm-yyy, ...)
> MaskBox.Mask = gb.currency -> to set mask to system currency using Decimal
> separator, tousands separator and country signal (E$, US$, BRZ, R$,...)
>
This will be the job of the future ValueBox. MaskBox will keep being low-
level.
> In MaskBox When type the simbol (Ex. ".", "," or "/") the control must by
> positioned in pos of simbol + 1
> Sample:
> Mask = "999,999.99" (currency type)
> If i type "." (decimal separator) the cursor position next the "." to
> type the cents.
It should do that. But maybe it's buggy...
--
Benoît Minisini
More information about the User
mailing list