Hi Malcolm,
I just did quck and dirty (since Tracy wanted is so bad :) modification to standard GHL. I've set the DynamicBackColor to these 3 columns individually in GHL.SetDynamicColor method. Each expression calls the method in the Form, that returns the cell color based on field value (just a DO CASE in the sample, as I wanted something easily traceable). However, the "coloring" method may also belong to GHL instance, being placed in one of the hook methods.
I changed GHL.Highlight_row method to call the "coloring" form method again to set the correct BackColor fot the active cell.
The code can be optimized further and can be made more generic to apply to any grid without grid modifications. I can send you a sample from home if you want.
>Nick,
>
>Can you share a high level overview of the technique you passed on to Tracy?
>
>I'm familar with your GridHighlighter class (THANKS!) and wonder what type of changes you needed to make to this class to accomodate Tracy's grid highlighting needs.
>
>Thanks,
>
>Malcolm
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