>>Take a look to RelativeRow property. I don't know if you can use it, but it maybe what you're looking for.
>>
>>Vlad
>>
>>>I have a grid in which I want every other line to be a different color. Using the example in VFP's help of using the MOD of RECNO() isn't practical. Is there a way I can do something like the MOD of the grids row numbers or does anyone else have another suggestion?
>It's worse than using activerow. Faster than activerow but result is wrong. Rows that you don't pass over don't refresh.
>Cetin
I didn't say it will work directly in a DynamicBackColor formula. But it gives the position in the grid of the current record. I hadn't time to come up with something. But maybe it can be used to write a short method...
Vlad
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement