Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Color in grid Columns
Message
De
02/10/2001 07:56:16
 
 
À
01/10/2001 22:54:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00562859
Message ID:
00562919
Vues:
22
Hi Bob.

>>Is there anyway of a grid displaying different text colors in a column, eg if the value of the field was less than 100 it would display in red, if more than
100 it displays in black?<<

This code, in the grid's init, will do it for you:

This.ColMyField.DynamicBackColor = "IIF( MyTable.MyField < 0, RGB(255,0,0 ), RGB(255,255,255) )"

Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform