>Sergey, Greetings.
>
>
>ah yes - property, not method. Duh.
>>
>>The following should work if assigned to the DynamicBackColor property of the columns as is at the design time
IIF(diary.live,RGB(192,192,192),RGB(192,220,192))
>
>thats what I was trying. Didn't work.
>
>Or you can use SetAll method of the grid
>>This.SetAll("DynamicBackColor","IIF(diary.live,RGB(192,192,192),RGB(192,220,192))","Column")
BTW, the DynamicBackColor is a property not a method.
>>
>and that is what I just tried and it worked first time!
>
>Thanks a lot!
>
>H
You're welcome.
--sb--