Sign in Join
FPDoc Onlineexperiment

TCustomDrawGrid.DrawCellAutonumbering procedure

Member of TCustomDrawGridprotectedIn unit Grids

Draws a cell with auto-numbering.

Declaration

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

Arguments

aCol

Column number for the cell.

aRow

Row number for the cell.

aRect

Rectangle with the bounds for the cell.

aValue

Text drawn in the cell.

Description

DrawCellAutonumbering is a method used to draw the text in AValue for the auto-numbered cell at the position in ACol and aRow. DrawCellAutonumbering calls DrawCellText to render the text using the parameter values.

DrawCellAutonumbering is called from the DefaultDrawCell method using the relative non-fixed row number as the text for the cell.

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