Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change ForeColor of Grid TextBox
Message
 
À
08/11/1998 08:16:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00155556
Message ID:
00155565
Vues:
17
>Is it possible to change the ForeColor of the contents of a textbox in a grid if the numeric value in that cell is a negative number?
>
>
>Thanks

John,

Check out the DynamicForecolor property of the column, you can put something like this in there;

IIF(EVALUATE(THIS.Controlsource)<0,RGB(255,0,0),RGB(0,0,0))

which will make negative numbers red and positive numbers black.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform