Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternate row colors in a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00128996
Message ID:
00129053
Vues:
19
Hi Gilles,

I do not think you can use anything that is not orginating from the underlying cursor, that's how DynamicXXX properties have been programmed.

You could add a dummy field to the cursor store the number of the lines as displayed in and use this as an alternative to Recno(). Not sure this is practical in your case of course.

Just a suggestion ...

Marc



>The only example I have found about this problem uses DynamicBackColor and a test on RECNO().
>
>This technique does not work if there is a deleted record that is not displayed, or if the order in which rows are displayed is changed.
>
>The only way to get the expected result, no matter how the records are displayed is to use the row number. However, I cannot find any property that would give the row number except only for the active one. Using ActiveRow does not work.
>
>Does anybody know how to obtain the correct result?

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform