mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 00:09:15 +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
|
||||
DrawColumnText(aCol,aRow,aRect,aState);
|
||||
|
||||
if (goFixedRowNumbering in Options) and (FixedCols >= 1) and (aCol = 0) then
|
||||
DrawCellAutonumbering(aCol, aRow, aRect, IntToStr(aRow));
|
||||
if (goFixedRowNumbering in Options) and (FixedCols >= 1) and
|
||||
(aCol = 0) and (aRow >= FixedRows) then
|
||||
DrawCellAutonumbering(aCol, aRow, aRect, IntToStr(aRow-FixedRows+1));
|
||||
end;
|
||||
|
||||
{ TCustomStringGrid }
|
||||
|
Loading…
Reference in New Issue
Block a user