Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the background Color of a cell in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00833872
Message ID:
00834197
Views:
24
>As I reread my thread I found a mistake. The color change applies to the Entire Column not the row. Sorry.

Hard to tell without your code. This is an example that works for me:
thisform.Grid1.Columns(1
).DynamicBackcolor=[iif(left(eval(field(1)),1)="Y",rgb(255,0,0),rgb(128,128,128))]

See if changing column.sparse will help.
Previous
Reply
Map
View

Click here to load this message in the networking platform