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

TCustomGrid.RangeSelectMode

Controls the range selection mode used for the grid.

Declaration

Source position: grids.pas line 1281

protected property TCustomGrid.RangeSelectMode : TRangeSelectMode
  read FRangeSelectMode
  write SetRangeSelectMode
  default rsmSingle;

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 selection of a single cell in a range. Use rsmMulti to select multiple cells in a range selection.

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:

See also

TRangeSelectMode

  

Enumerated type with the Range selection mode used in a grid control.

TCustomGrid.ClearSelections

  

Clears the current range selection(s) and redraws the grid control.

TCustomGrid.AddSelectedRange

  

Adds the current range selection to the array of selection rectangles for the control.

TCustomGrid.GetIsCellSelected

  

Gets the value for the indexed IsCellSelected property.

TCustomGrid.MouseDown

  

Handles mouse down events for the grid control.

TCustomGrid.InvalidateCell

  

Renders a cell invalid, and redraws the cell if required.


Version 3.2 Generated 2024-02-25 Home