Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternating lines on a grid
Message
 
À
07/04/2000 00:48:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00356606
Message ID:
00356669
Vues:
24
Mike,

This only works if the table is in record number order - in his case it's not.

Cheers,

Andrew


>>If your record order within a grid control is not in record number order is there anyway of alternating the background colour of each line in the grid?
>
>A little XMas cheer:
>
>grid.setall('DynamicBackColor', 'iif(mod(recno(), 2) = 1, rgb(255,0,0), rgb(0,255,0))', 'Column')


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform