Information générale
Catégorie:
Codage, syntaxe et commandes
>Is there a way to set the DynamicBackColor of a grid's rows so that the row colors alternate (green,white,green,white....etc) without relying on the recno() as the grid wizard does?
What you can do is create an array with the Record Numbers in their current order (via SQL - SELECT INTO ARRAY) and then have the DynamicBackColor do an Ascan() for the record number and do the odd or even thing based on the result.
Précédent
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