Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid row colors
Message
From
18/07/2001 03:57:18
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00531022
Message ID:
00531880
Views:
15
>I think I have seen here somewhere about making alternate rows of a grid a different color. This is what I am trying to do. I know there is a column property to do this for columns, but what about rows?

If you create a blank form and drop a grid on it then use the builder to format it as "ledger" style you can have a look at how Microsoft do it.

The code

IIF(MOD(RECNO(),2)=1,RGB(255,255,255),RGB(192,220,192))

is put in the dynamic backcolor for the column. Repeat this in each column for the whole row.


Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform