Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Currency Field in a Grid
Message
De
25/09/2002 09:13:11
Steven Herbin
SNH Computing Corporation
Swan Lake, New York, États-Unis
 
 
À
24/09/2002 16:56:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00703964
Message ID:
00704182
Vues:
16
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform