Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency Field in a Grid
Message
From
25/09/2002 09:13:11
Steven Herbin
SNH Computing Corporation
Swan Lake, New York, United States
 
 
To
24/09/2002 16:56:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00703964
Message ID:
00704182
Views:
15
>>I am trying to place a currency field on a grid using an "ordinary" text box. Since we're in the States, I only want to display 2 decimal places. When the currency field displays in the grid, it displays 4 decimal places.
>>
>>I tried putting an input mask of 9999.99 in the properties. However, that only works when the focus is in the field. Whenever the focus is not on the field, 4 decimals are displayed.
>>
>>Is this a quirk of the grid control or is there something I'm missing? This has to be something really simple.
>>
>>TIA.
>
>Try changing the Column properties, rather than the contained TextBox. Or perhaps both.
>
>HTH, Hilmar.

Worked like a charm. I don't really understand why, but it does.

Thanks for the quick help!
Steven Herbin
SNH Computing Corporation
Swan Lake, NY
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform