Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not displaying numeric value '0.00' in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Not displaying numeric value '0.00' in grid
Divers
Thread ID:
00213360
Message ID:
00213360
Vues:
56
Hi,

We have a grid with a column displaying a N(10,2) field that we want to be able to modify. It works fine, but the grid becomes difficult to read with many such columns. To make it more readable we would like the column to display '' when value is 0.00.

We have tried different ways without sucess:

-Setting the column controlsource to IIF(amount > 0.00, amount, '') displays it properly, but does not allow us to modify.

-Setting DynamicCurrentControl again displays it correctly, but when entering the textbox to modify, the forecolor and backcolor are set to those specified but DynamicForeColor etc.

What I would like to have in some property 'blank if zero'.


Klas Nygren
(using VFP 3.0 for Win & Mac)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform