Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column Data ForeColor
Message
 
 
À
28/10/2009 04:34:38
Paul Ong
Knights of Christ Foundation
Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01431831
Message ID:
01431842
Vues:
76
You can use columns DynamicForecolor and DynamicBackcolor to specify an expression that evaluates to a RGB color value during grid refresh. Something, like
.DynamicForecolor = "IIF(FieldForTheColumn = 0, RGB(255,0,0), RGB(0,0,0))"
A column has other Dynamic* properties as well.

>
>Is it possible to have a different forecolor for each record in a given column, for example, column1 has the ff: 1,2,4,0,5, i wanted the column with values to have a color blue, otherwise red (zeroes)
>
>column1
>1
>2
>4
>0
>5
>
>is this possible in design time or programmatically.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform