Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change the column's grid color
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00275210
Message ID:
00275599
Views:
22
H There,

>I may be wrong, but don't you need to use the dynamic back color property >instead of the back color property?

This is the actual code I am using, and I the DynamicBackColor
is used to install an IIF condition. If the IIF condition is not install
then the entire column is gray works just fine. The problem is that
the two properties conflict with each other. Then I see the gray color
only at the bottom, where there are no records in the grid.

Thanks

Doron

WITH This.grdPickList

FOR m.lnJ=1 TO .ColumnCount
.Columns[m.lnJ].DynamicBackColor='IIF(&taBehavior[1,2],RGB
(0,255,255),RGB(255,255,255))'
ENDFOR

.Columns[5].BackColor=RGB(192,192,192)
ENDWITH
Previous
Reply
Map
View

Click here to load this message in the networking platform