>Hi
>
>I have a long complicated set of different dynamic background conditions I need for one column in my grid.
>
>An ICASE won't cut it since the statement it is too long (>255),
>
>The following command works well in the INIT of the grid, but don't want this for all columns in the grid just some.
>
>
>thisform.grid1.SetAll("dynamicbackcolor","thisform.GetBackColor(alltrim(ctype))")
>
>I can't seem to work out what the syntax would be for one or more columns.
>
>Can anyone shed any light on this.
>
>TAI
>
>Rob
It will be exactly the same thing, e.g.
thisform.Grid1.column1.dynamicbackcolor = "thisform.GetBackColor(cType)"
You can do alltrim in the body of the method.
If it's not broken, fix it until it is.
My Blog