>>You did base your control directly on VFP class, didn't you? Tsk, tsk. Bad boy!
>>
>>If you would have based your control on a subclass, you could have just change a setting in the class and all your controls would have inherited it... :)
>
>Well, I arrived in the middle of the project, so it's not my fault! :)
>
>BTW, the textbox is subclassed, but it's used for every type of field, including date, numeric, text, etc. And the inputmask trick will work if I have the same number of decimal, but not all numeric fields don't have 2 decimals; some have less, some have more...
How about an unbound text field and some code to do the right formatting yourself ?
Vlad-Georg