>(I changed your code a little bit)
Code optimized but doesn't solve the problem.
>Still I stand by my advice. Don't re-invent the wheel, use Cetin's grid. In our framework I made few minor modifications to it, for example, I show highlighted record with FontBold=.t.
It's not a matter a reinventing the wheel. When you have a grid class of your own that you use since years which combines several hundreds lines of code which does a lot of customization stuff and tie into the framework, it's not something you would change just like that and just because you need one little feature, such as this one.