Click to See Complete Forum and Search --> : Problems with COleCurrency


April 15th, 1999, 10:20 AM
I've got an edit box in a dialog which is set up as COleCurrency in Class Wizard. If I type an integer value into the edit box it works fine (ie, typing 100 actually displays 100 in the edit box). However, if I try to type a decimal value (such as 100.12), when I get to typing the decimal point the cursor moves at the start of the string. So, instead of getting 100.12 I'm getting 12100, with no decimal point anywhere in the string. The only way around this seem to be by typing the 'pence' part first (12), followed by the pounds (100), then the decimal point.

Can anyone help me with this, or should I just pack it all in and become a sales assistant?