Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternate row colors in a grid
Message
 
To
22/08/1998 01:01:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00128996
Message ID:
00129053
Views:
18
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform