Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Colouring a row on a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00062613
Message ID:
00062619
Views:
26
>>How do I colour a specific row in grid? DynamicBackColor is used for columns not rows.
>>
>>I will like to colour each row based on the value of the data in a field on each row.
>>
>>Any ideas.
>
>Grid.SetAll("DynamicBackColor","IIF(field1=%value%, RGB(255,255,255), RGB(0,255,0))", "Column")

I have having trouble with the use of that code I am using


thisform.Grid1.SetAll("DynamicBackColor",IIF(thisform.grid1.ctime.combo1.value="0800", RGB(255,255,255), RGB(0,255,0)), "Column")

I get the error "data type is invalid for this property".
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform