>Hi
>
>I have seperated the currecny class now thanks.
>
>PART I
>Sorry to have troubled you all. But there was a major misunderstanding on my part. There are two InputMask properties for a column
>1. Properties | Data | InputMask
>2. Properties | Layout | DynamicInputMask
>
>I used DynamicInputMask which was wrong, using the InputMask on the Data tab did the trick.
DynamicInputMask is used for variable masks within a grid column, that is, the InputMask should change, depending on some condition. You require this, because you have only a single TextBox to control, but the user sees multiple objects (one for each visible row).
>Thanks for your patient responses.
>
>
>PART II
>Now I did the same thing programatically, ie. setting of the columns InputMask property. Though the gotfocus() of the textbox shows that the column has the InputMask property set correctly, it still shows the currency placements of 4 decimals.
Do you still have a setting for DynamicInputMask? Perhaps it is overriding (superceding, replacing) the InputMask property.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)