I would like to hide fixed lines for Fixed Columns.
(legacy app using version 6.14)
See grid.Options : goFixedHorzLine, goFixedVertLine
Thanks!
I forgot these properties.
I have a background picture, with
BackGround.Display := bdTile;
BackGround.Cells := bcAll;
And I wanted to totally remove the grid lines, while doing custom drawing in the cells.
It was possible with a (very) ancien version of the grid.
I manage to do it with a custom hack of BaseGrid.pas - procedure PaintCellInt()
with GridLineWidth = 0 and BackGround.Display := bdFixed
May be there is a cleaner way to do it...
// if gdFixed in AState then
// begin
// //Inflaterect(ARect,-1,-1)
// ARect.Right := ARect.Right - 1;
// ARect.Bottom := ARect.Bottom - 2;
// end
// else
// Inflaterect(ARect, -FGridLineWidth, -FGridLineWidth);
ARect.Left := ARect.Left - 1;
ARect.Top := ARect.Top - 1;
ARect.Right := ARect.Right - FGridLineWidth;
ARect.Bottom := ARect.Bottom - FGridLineWidth;