FillRect doesn\'t paint the complete TStringGrid cell in Delphi XE2. There is a gap of 3 pixels on the left side in the default color (with B
FillRect
TStringGrid
B
Since you're drawing the grid cell yourself then just turn off the grid property DefaultDrawing, set it to false.