>Since my grid is data driven (built based on a DBF), I have a tough time relating your code to my case.
>I have a question.
>
>This is the top of the code where the grid is built:
>
> nColumn = nColumn + 1
> with toGrid.columns(nColumn)
>
>
>How can I apply your property .DynamicBackColor to the code above (if it is possible). I tried many different ways but I get an error.
>
>Thank you.
This should be enough
with toGrid.columns(nColumn)
.DynamicBackColor = ....
...
ENDWITH
BUT
If you want to set this property for EVERY column in the grid:
toGrid.SetAll("DynamicBackColor", "....", "Column")
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.