Hi Tracy,
Check out the code in my GridHighlighter. It has an option for such situation, and uses different highlight color when the highlight bar goes over already colored record.
It might hel you.
>I have successfully set the background color of a single cell based on conditional checks. However, if the current row in the grid has a special dynamicbackcolor in a cell and the row is also the currently selected row, the dynamicbackcolor is not visible because the highlight covers it.
>
>For instance, if I set the background of the 2nd column to yellow because the field's value meets a certain condition, but then that row in the grid is selected and the selecteditembackcolor is blue, then the entire row becomes blue and the yellow is not visible. Anyway to display the underlying dynamicbackcolor if it is anything other than RGB(255,255,255) ON TOP OF THE selecteditembackcolor so it is visible when the row is also the selected row?
>
>TIA,
>Tracy
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison