Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternating lines on a grid
Message
From
07/04/2000 00:48:13
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00356606
Message ID:
00356663
Views:
22
>If your record order within a grid control is not in record number order is there anyway of alternating the background colour of each line in the grid?

A little XMas cheer:

grid.setall('DynamicBackColor', 'iif(mod(recno(), 2) = 1, rgb(255,0,0), rgb(0,255,0))', 'Column')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform