Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set different font color for flagged rows on grid
Message
From
22/01/2004 19:39:10
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00869697
Message ID:
00869704
Views:
21
Thanks for your reply, Sergey.
Set thisform.grid1.column1.dynamicforecolor to iif(myfield,rgb(255,0,0),rgb(0,0,0)) ?
I tried that but got the invalid expression error ??


>>I'd like my grid to display a different colored font for rows/records with myField=.T. (where myField is the field name in the table).
>>I've tried setting column1's dynamicforecolor (on the property sheet) = this.setall("dynamicforecolor",'iif(myfield=.T.,rgb(255,0,0),rgb(0,0,0))',"column") but it's not working. I do not think I quite know how the dynamicforecolor works. Can anybody help?
>
>Inge,
>
>Set it to
iif(myfield,rgb(255,0,0),rgb(0,0,0))
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform