I want to draw merged cells with TStringGrid, and write drawing code in a StringGrid's OnDrawCell event. But after calling the event handler, TStringGrid will draw the cell border. That's not my want. Then I remove goHorzLine from the StringGrid's Options in OnDrawCell, unfortunately this maks a dead-loop because after setting the Options, the StringGrid will be fully repainted.
Since FOptions is private of TCustomGrid, I have to add a public procedure to TCusomGrid to modify the Options.
Maybe it's better to let TCustomGrid have a way to modify Options without repaint?