Sign in Join
FPDoc Onlineexperiment

TCustomGrid.CellClick procedure

Member of TCustomGridprotectedIn unit Grids

Processes a mouse click in the cell at the given coordinates.

Declaration

pascal
procedure CellClick(const aCol: Integer; const aRow: Integer; 
 const Button: TMouseButton); virtual

Arguments

aCol

Column number for the click event.

aRow

Row number for the click event.

Button

Description

CellClick is a virtual method with an empty implementation in TCustomGrid. It is overridden in descendent classes, like TCustomDrawGrid, to perform action needed in the implementation.

CellClick is called from the MouseUp method when a mouse click event occurs in the data area (non-fixed cells) for the grid control.

See also

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