>.gotfocus
>if "9,9" $ this.inputmask
> this.savemask=this.inputmask
> this.inputmask=chrt(this.inputmask, [,],[])
>endif
>
>.lostfocus
>if not empty(this.savemask)
> this.inputmask=this.savemask
> this.refresh
>endif
>
>does the trick for me. Maybe I should have checked for "#,#" and such too, but I don't use them.
Just to add: this works if you have an input mask. If you don't, it doesn't. I actually assign one almost everywhere, though I store it into a public variable; when I tried the form today without the public variable, the numeric fields defaulted to no inputmask (no "variable not found" error, really cute), and it started misbehaving again. I think I'll look for David's class.