Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Paint rows in a grid
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Paint rows in a grid
Miscellaneous
Thread ID:
00952058
Message ID:
00952058
Views:
46
Hi,
In a grid the rows are painted by using the column property DynamicBackColor, which is set to
IIF(MOD(RECNO(),2)=1,RGB(255,255,196),RGB(206,255,206)). This looks fine but however, by using an index on the referenced table the row colors are not any longer every other green and every other yellow. This is of course the obvious result of the property setting. However, is there any other way of doing this allowing the result to be every other row to be in one color and every other row in another color despite you use an index or not on the table? (I do not like to use different table sources for the grid).
Next
Reply
Map
View

Click here to load this message in the networking platform