Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Grid Record Color Changes
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00691065
Message ID:
00691075
Views:
14
Sorry Patrick, this is the correct command:
ThisForm.yourGrid.SetAll("DynamicBackColor", "IIF(SomeCondition,RGB(255,0,0),0)", "Column" )
Jaime


>Patrick
>Sure you can. Something like this might help:
>ThisForm.yourGrid.DynamicBackColor = ;
>"IIF( SomeCondition, RGB(255,0,0), 0 )"
>This will set the BackColor to red for those records that meet SomeCondition. Also, you can play with the DynamicForeColor property the same way.
>
>HTH
>Jaime
>
>>Is it possible to dynamically change the text colors of a single record in a Grid? (I'd like to display a single or group of records in red while the remaining records remain black)
>>
>>Thanks
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform