diff --git a/components/fpspreadsheet/source/visual/fpspreadsheetgrid.pas b/components/fpspreadsheet/source/visual/fpspreadsheetgrid.pas index b67ea3970..63a6f710a 100644 --- a/components/fpspreadsheet/source/visual/fpspreadsheetgrid.pas +++ b/components/fpspreadsheet/source/visual/fpspreadsheetgrid.pas @@ -2112,6 +2112,7 @@ begin if not odd(FSelPen.Width) then dec(Rct.Left); Editor.Font := CellFont[Col, Row]; Editor.Font.Height := Round(Font.Height * ZoomFactor); + Editor.Color := BackgroundColor[Col, Row]; Editor.SetBounds(Rct.Left, Rct.Top, Rct.Right-Rct.Left-1, Rct.Bottom-Rct.Top-1); end; end;