>Hi Dragan
>
>>
this.column5.dynamicbackcolor="iif(this.column5.readonly and not this.column5.enabled, "+ ;
>> transform(thisform.backcolor)+", 0xffffff)"
>
>Can this be translated in terms of SetAll(). this.readonly stuff did not work when I tried to use it in SetAll().
No it can't, because the it evaluates in the context of the grid, not the column - so the meaning of "this" is "the grid". So you can't use setall with column properties in the expression; you can, though, have a loop:
for i=1 to this.columncount
oCol=this.columns[i]
oCol.dynamicbackcolor="iif(this."+ocol.name+;
".readonly and not this."+ocol.name+".enabled, "+ ;
transform(thisform.backcolor)+", 0xffffff)
endfor