Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change the column's grid color
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00275210
Message ID:
00275599
Vues:
21
H There,

>I may be wrong, but don't you need to use the dynamic back color property >instead of the back color property?

This is the actual code I am using, and I the DynamicBackColor
is used to install an IIF condition. If the IIF condition is not install
then the entire column is gray works just fine. The problem is that
the two properties conflict with each other. Then I see the gray color
only at the bottom, where there are no records in the grid.

Thanks

Doron

WITH This.grdPickList

FOR m.lnJ=1 TO .ColumnCount
.Columns[m.lnJ].DynamicBackColor='IIF(&taBehavior[1,2],RGB
(0,255,255),RGB(255,255,255))'
ENDFOR

.Columns[5].BackColor=RGB(192,192,192)
ENDWITH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform