Eric,
Take the code OUT of refresh() and put it into the grid INIT. Once the DynamicBackColor and DynamicForeColor are set it doesn't need to be changed.
HTH
Barbara
>Good idea but it doesn't work within grid.refresh. The Mod(This.RelativeRow,2) always give 0. It works fine when we clic on it however. So I wonder where to put this?