Unit 'Grids' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomGrid.OnSelection

Event handler signalled when an area is selected in the grid control.

Declaration

Source position: grids.pas line 1285

protected property TCustomGrid.OnSelection : TOnSelectEvent
  read fOnSelection
  write fOnSelection;

Description

The Col and Row parameters contain the column and the row of the highlighted cell.

Application developers can use the OnSelection and OnBeforeSelection events to react to focus changes. Component developers should use the ??? method instead.