diff --git a/components/gridprinter/source/gridprn.pas b/components/gridprinter/source/gridprn.pas index 98bfa6456..eb55d822c 100644 --- a/components/gridprinter/source/gridprn.pas +++ b/components/gridprinter/source/gridprn.pas @@ -864,7 +864,7 @@ begin exit; lGrid := TGridAccess(FGrid); - if lGrid.Columns.Enabled and (FFixedCols > 0) and (ACol >= FFixedCols) and (ARow = 0) and (FFixedRows > 0) then + if lGrid.Columns.Enabled and (ACol >= FFixedCols) and (ARow = 0) and (FFixedRows > 0) then begin col := lGrid.Columns[ACol - FFixedCols]; Result := col.Title.Caption;