mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 17:39:20 +02:00
LCL, grids, do row auto numbering starting on first non-fixed row, from graeme and flavio
git-svn-id: trunk@23632 -
This commit is contained in:
parent
2e36f3b61e
commit
5e049e36b3
@ -8501,8 +8501,9 @@ begin
|
|||||||
if FTitleStyle<>tsNative then
|
if FTitleStyle<>tsNative then
|
||||||
DrawColumnText(aCol,aRow,aRect,aState);
|
DrawColumnText(aCol,aRow,aRect,aState);
|
||||||
|
|
||||||
if (goFixedRowNumbering in Options) and (FixedCols >= 1) and (aCol = 0) then
|
if (goFixedRowNumbering in Options) and (FixedCols >= 1) and
|
||||||
DrawCellAutonumbering(aCol, aRow, aRect, IntToStr(aRow));
|
(aCol = 0) and (aRow >= FixedRows) then
|
||||||
|
DrawCellAutonumbering(aCol, aRow, aRect, IntToStr(aRow-FixedRows+1));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TCustomStringGrid }
|
{ TCustomStringGrid }
|
||||||
|
Loading…
Reference in New Issue
Block a user