Sign in Join
FPDoc Onlineexperiment

TCustomGrid.OnCompareCells property

Member of TCustomGridprotectedIn unit Grids

Event handler signalled to compare the content in grid cells.

Declaration

pascal
property OnCompareCells: TOnCompareCells read FOnCompareCells write FOnCompareCells;

Description

OnCompareCells is a TOnCompareCells property with the event handler signalled to compare two cell values in the grid control. OnCompareCells is signalled (when assigned) by the DoCompareCells method, and occurs when column or row values are examined in the Sort method. The Result parameter contains the relative sort order for the compared cell values.

See also

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