Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid SetAll alternate shading doesn't work!
Message
De
07/08/2000 11:51:15
 
 
À
07/08/2000 10:26:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00401746
Message ID:
00401824
Vues:
28
> Another technique might be to use the ActiveRow or RelativeRow properties for
> this; it's a SWAG, not having tried it, and I don't have sample code to
> provide.

Unfortunately, it probably won't work because ActiveRow returns 0 when the grid doesn't have focus...

You can create a cursor with a ORDER clause or use an extra field N(1, 0) whose values alternate between 0 and 1. I use that technique for lookup tables that are mopre or less static. I actually use a third color for the 'new' values. The users like it better than I do (I think it looks too much like a Xmas tree).

Daniel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform