Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting DynamicBackColor independant of Recno()?
Message
From
14/06/2000 22:53:14
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00380368
Message ID:
00380567
Views:
23
>Is there a way to set the DynamicBackColor of a grid's rows so that the row colors alternate (green,white,green,white....etc) without relying on the recno() as the grid wizard does?

What you can do is create an array with the Record Numbers in their current order (via SQL - SELECT INTO ARRAY) and then have the DynamicBackColor do an Ascan() for the record number and do the odd or even thing based on the result.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform