Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Paint rows in a grid
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Paint rows in a grid
Divers
Thread ID:
00952058
Message ID:
00952058
Vues:
47
Hi,
In a grid the rows are painted by using the column property DynamicBackColor, which is set to
IIF(MOD(RECNO(),2)=1,RGB(255,255,196),RGB(206,255,206)). This looks fine but however, by using an index on the referenced table the row colors are not any longer every other green and every other yellow. This is of course the obvious result of the property setting. However, is there any other way of doing this allowing the result to be every other row to be in one color and every other row in another color despite you use an index or not on the table? (I do not like to use different table sources for the grid).
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform