Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.DrawFixedText procedure

Member of TCustomDBGridprotectedIn unit DBGrids

Draws the fixed text at the specified row and column numbers.

Declaration

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

Arguments

aCol

Column number to draw.

aRow

Row number to draw.

aRect

Canvas rectangle for the drawing operation.

aState

Drawing state for the operation.

Description

DrawFixedText is a procedure used to draw a fixed (or caption) cell at the specified row and column numbers. DrawFixedText calls the DrawIndicator method for the active record when aCol contains 0 (zero) and Options includes the value dgIndicator. Otherwise, the DrawColumnText method is called using the arguments passed to the method.

DrawFixedText is used in the implementation for the DefaultDrawCell method.

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