>>In some versions of VFP I found this wasn't enough - for instance, when you click into the middle of the textbox. Also, if the insert is off, the zero won't go away as you type.
>>
>>The trick which works for sure is to remove the inputmask in .gotfocus() and restore it on .lostfocus():
>>
>>
>>this.addproperty("SaveMask", this.inputmask)
>>this.inputmask=""
>>* or, alternately - this also works but keeps the decimals, if any:
>>this.inputmask=chrtran(this.inputmask, ",", "")
>>
>>* lostfocus
>>this.inputmask=this.savemask
>
>I'll try it tomorrow, thanks, because now I do have a problem with traling 0 <g>
We should elect you to the (new) post of Chief Archaeologist of UT :).
Though I've seen you do better than this - digging up messages from five or more years ago.