Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Row Colours
Message
De
17/12/2010 10:45:39
 
 
À
17/12/2010 08:19:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01493071
Message ID:
01493104
Vues:
65
>Hi All,
>
>How do you alternate row colours in a grid when the data source uses an index? I know you use the DynamcBackColor property which I normally do use with an IIF() condition on the record number. But if the data source is indexed into non-record sequential order what can I test on for alternating rows?
>
>TIA


If you're interested Jos, I can post a class and sample form that uses a side effect of the Dynamic* properties

The only drawback is that the first visible row in the grid has always the same colour - if you scroll one line up/down all the colours change
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform