>Hi,
> I have a grid that set with Ledger Style. How could I code the grid in order the whole active row highlighted (blue) when focus? I tried the following code, but now working, any suggestion?
>
>THISFORM.grid.SetAll("dynamicbackcolor", ;
>"IIF(RECNO()= grno,RGB(0,0,128), IIF(RECNO()%2 = 0,RGB(128,255,128),; RGB(255,255,255)", "Column")
John,
Your code is OK but only you missed closing parentheses -2 one for each iif( -in expression. If your expression is wrong, VFP simply applies nothing and doesn't error. Check your expression in Command window replacing paramters appropriately to see if that really returns a valid color value.
Cetin