[Gambas-user] MaskBox Idea complement

Wellington de Souza Pinto wellspinto at ...626...
Thu Jan 6 15:50: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$,...)

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.
...

Reguards,



More information about the User mailing list