>I think it is convenient to base the relevant textboxes on a class, with a property for the number
of decimals. The number of decimals can be loaded from user preferences on Init(), and the InputMask changed accordingly.
Actually I do something already like that though this is on currency. I have textbox class for currencies which I have put it in the tools option, so whenever I pull in a currency field onto a form this class is used and I have this class read the inputmask from the ini file for Qty, Rate and Amt based on the comment, which I generally have in the tables.
Are currency in actual world and economics sense use 8 decimals in some cases? Any ideas.