>>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...
You can add an additional layer of sub-classed textbox and redefine the textbox
either in the class browser or manually by hacking the VCX/SCX
(IAC, backup your original file first - just in case)
Arnon
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement