Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.OnCellClick property

Member of TCustomDBGridprotectedIn unit DBGrids

Event handler signalled for a mouse click in a grid column.

Declaration

pascal
property OnCellClick: TDBGridClickEvent read FOnCellClick write FOnCellClick;

Description

OnCellClick is a TDBGridClickEvent property that contains the event handler signalled when a mouse button is clicked in a cell for the grid control. Assign a procedure to the OnCellClick property to respond to mouse click messages in a column for the grid control. The column number for the clicked cell is passed as an argument to the handler routine.

OnCellClick is signalled from the CellClick method, and occurs for Left mouse button clicks only.

See also

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