Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colors in my grid
Message
 
 
To
23/06/2000 06:26:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00383640
Message ID:
00383711
Views:
35
>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

And just a reminder: don't forget to refresh your grid in AfterRowColChange().
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform