Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Paint rows in a grid
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement