Sign in Join
FPDoc Onlineexperiment

TCustomGrid.DrawTextInCell procedure

Member of TCustomGridprotectedIn unit Grids

Draws the text for a non-fixed cell in the grid.

Declaration

pascal
procedure DrawTextInCell(aCol: Integer; aRow: Integer; aRect: TRect; 
 aState: TGridDrawState); virtual

Arguments

aCol

Column number for the cell drawn in the method.

aRow

Row number for the cell drawn in the method.

aRect

Rectangle with the coordinates where the cell text is drawn.

aState

Drawing state for the cell (like selected, focused, fixed, etc.).

Description

The implementation for DrawTextInCell is empty in TCustomGrid. It is overridden in descendent classes.

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