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

# TCustomGrid.HasMultiSelection

Indicates if multi-select range selection mode is enabled and in use for the grid.

## Declaration

Source position: grids.pas line 1357

`public function TCustomGrid.HasMultiSelection: Boolean;`

## Function result

True when multi-select range selection mode is enabled and in use for the grid.

## Description

HasMultiSelection is a Boolean function used to determine if multi-select range selection mode is enabled and in use for the grid. The return value is True when Options includes the value goRangeSelect, RangeSelectMode contains rsmMulti, and Selections contains selection cell rectangles.

## See also

TCustomGrid.Options |  | Contains the set of optional features and/or behaviors enabled for the grid control.
TCustomGrid.RangeSelectMode |  | Controls the range selection mode used for the grid.
TRangeSelectMode |  | Enumerated type with the Range selection mode used in a grid control.
TGridOptions |  | Set type used to store enabled grid options.
TGridOption |  | Represents grid option values available for grid controls.