[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Controls the range selection mode used for the grid.
Source position: grids.pas line 1255
protected property TCustomGrid.RangeSelectMode : TRangeSelectMode |
RangeSelectMode is a TRangeSelectMode property that controls the range selection mode used for the grid. The default value for the 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:
|
Range selection modes available in a grid control. |
|
|
Clears the current range selection(s) and redraws the grid control. |
|
|
Adds the current selection range to the array of rectangles in Selections. |
|
|
Gets the value for the indexed IsCellSelected property. |
|
|
Handles mouse down events for the grid control. |
|
|
Renders a cell invalid, and redraws the cell if required. |
lazarus-ccr.sourceforge.net |