Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with grid cell color
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00366320
Message ID:
00366333
Views:
18
The property can take an RGB() expression based on any field, for example:
THISFORM.Grid1.Column1.DynamicBackColor = ;
"IIF(MyTable.MyField = 'Red', RGB(255,0,0), RGB(192,192,192))"
The cell for every MyField with 'Red' will have a red backcolor.


>Well, I'm half way home. I found the property (thank you) but when I bind it to the numeric color field I get an invalid data type error. I can type in a number manually, but it doesn't want to get it from a field. Am I missing something?
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform