[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.OnCompareCells

Event handler signalled to compare the content in grid cells.

Declaration

Source position: grids.pas line 1305

protected property TCustomGrid.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

TCustomGrid.Sort

  

Sorts rows or columns in the grid.

TCustomGrid.DoCompareCells

  

Performs a comparison between the specified cells in the grid control.

TOnCompareCells

  

Specifies an event handler signalled to compare cell values.


Version 3.2 Generated 2024-02-25 Home