Sign in Join
FPDoc Onlineexperiment

TDrawGrid.RangeSelectMode property

Member of TDrawGridpublishedIn unit Grids

Controls the range selection mode used for the grid.

Declaration

pascal
property RangeSelectMode:;

Description

RangeSelectMode is a TRangeSelectMode property that controls the range selection mode used for the grid. The default value for the property is rsmSingle, and allows a selection to consist of a single cell or a single cell range. Use rsmMulti to enable selections that consist of multiple cells or multiple cell ranges.

Changing the value in RangeSelectMode causes the ClearSelections method be called to remove existing selection(s) in the grid control.

RangeSelectMode is used in the implementation of methods like:

  • AddSelectedRange
  • GetIsCellSelected
  • MouseDown
  • InvalidateCell

This description is the one of Grids.TCustomGrid.RangeSelectMode.

See also

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