Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colors in my grid
Message
From
23/06/2000 06:26:45
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00383640
Message ID:
00383653
Views:
37
Hi Kelly.

>> I want to set colors in my grid according to certain rows of data that I'm pulling from my table into my cursor with a sql select statement. <<

This statement in the grid's init should do it for you:

This.SetAll( 'DynamicBackColor', ;
'IIF( SomeCondition, RGB( 0,255,255 ), RGB( 255, 255, 255 ) )', 'COLUMN' )

>> I guess I could create an extra field in my cursor to bind the check mark too? would this work. <<

Yes.

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform