Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting DynamicBackColor independant of Recno()?
Message
De
14/06/2000 22:53:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00380368
Message ID:
00380567
Vues:
24
>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
Fil
Voir

Click here to load this message in the networking platform