Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternating colors for grid rows
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00119894
Message ID:
00119905
Views:
36
Thank you for the quick response. I'm sure that this will solve my problem.

>Mark,
>
>You can use the DynamicBackColor (or DynamicForeColor) to do this. For instance, in the Init of the grid you could put:
>
>THIS.DynamicBackColor="IIF(RECNO('mytable')/2=INT(RECNO('mytable')/2),RGB(255,0,0),RGB(255,255,255))"
>>I know this has to be fairly straight-forward, but it escapes me. How do I get grids to display their rows in alternating colors or simply assign one color (red in this case) to a given row?
>>
>>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform