Sign in Join
FPDoc Onlineexperiment

TCustomGrid.InvalidateCell procedure

Member of TCustomGridprotectedIn unit Grids

Renders a cell invalid, and redraws the cell if required.

Declaration

pascal
procedure InvalidateCell(aCol: Integer; aRow: Integer; Redraw: Boolean)
 ; overload
procedure InvalidateCell(aCol: Integer; aRow: Integer); overload

Arguments

aCol

Column number for the cell.

aRow

Row number for the cell.

RedrawTrue to redraw the cell immediately, False to defer until the next update for the control.

Description

InvalidateCell is an overloaded method in TCustomGrid used to invalidate the cell at the column and row numbers in ACol and ARow. The Redraw argument is optional, and forces the cell to be re-drawn as soon as it is invalidated. The default value for Redraw is False, and defers the draw operation until the next time the control is updated.

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