Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with grid cell color
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00366320
Message ID:
00366333
Vues:
17
The property can take an RGB() expression based on any field, for example:
THISFORM.Grid1.Column1.DynamicBackColor = ;
"IIF(MyTable.MyField = 'Red', RGB(255,0,0), RGB(192,192,192))"
The cell for every MyField with 'Red' will have a red backcolor.


>Well, I'm half way home. I found the property (thank you) but when I bind it to the numeric color field I get an invalid data type error. I can type in a number manually, but it doesn't want to get it from a field. Am I missing something?
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform