Sign in Join
FPDoc Onlineexperiment

TCustomStringGrid.DrawCellAutonumbering procedure

Member of TCustomStringGridprotectedIn unit Grids

Performs auto-numbering for a cell in the grid.

Declaration

pascal
procedure DrawCellAutonumbering(aCol: Integer; aRow: Integer; 
 aRect: TRect; const aValue: string)
 ; override

Arguments

aCol

Column number for the cell.

aRow

Row number for the cell.

aRect

Rectangle where the cell is drawn.

aValue

Text to display as the auto-numbering value.

Description

Renders the row number for non-fixed rows in the grid control. Calls the inherited DrawCellAutoNumbering method when the cell at ACol and ARow contains an empty string ('').

Called from the DefaultDrawCell method when goFixedRowNumbering is included in Options.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.