Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid (Again)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00197687
Message ID:
00198433
Vues:
21
Eric,
Use "ActiveRow" not "RelativeRow". ActiveRow is always the same for a given set of records (First record whether indexed or not is 1, next record is 2, etc.).

Barbara


>
>Didn't work:
>
>I put this in the grid.init method. Comes out as RGB(255,255,255) for each row. As a test: RECNO() works fine but of course bring me back to the first question.
>
>Maybe the rows are not define at this time?
>
>THIS.SetAll("DynamicBackColor", ;
> "IIF(MOD(THIS.RelativeRow, 2)=0, RGB(255,255,255) ;
> , RGB(128,255,255))", "Column") && Alternate white and green records
>
>*THIS.SetAll("DynamicBackColor", ;
>* "IIF(MOD(RECNO(), 2)=0, RGB(255,255,255) ;
>* , RGB(128,255,255))", "Column") && Alternate white and green records
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform