Sign in Join
FPDoc Onlineexperiment

TCustomStringGrid.ExtendedSelect property

Member of TCustomStringGridpublicIn unit Grids

Declaration

pascal
property ExtendedSelect: ;

Description

Not described here; this is what TCustomGrid.ExtendedSelect says of it:

Controls whether extending the current cell selection(s) on the control is enabled.

ExtendedSelect is a Boolean property which controls whether selected cells can be extended beyond the current value(s) in Selection and SelectedRange. The default value for the property is True and allows Selection / SelectedRange to be extended when range selection is enabled for the grid control. ExtendedSelect has no effect if goRangeSelect has not been included in the Options property.

ExtendedSelect is used when the value in SelectActive property is changed. It prevents SelectActive from being enabled when range selection is not enabled, or a cell editor is already (or always) active for a cell in the current selection.

ExtendedSelect is used in MouseDown when a mouse click is detected for a cell. It causes an active cell editor (or its associated cell editor button) to be deactivated before the selection is extended. It is also used in MouseMove when logical cell coordinates are retrieved for a selection at the current mouse position.

Use Options to enable range selection (goRangeSelect) or to control use of cell editors (goEditing, goAlwaysShowEditor).

Use RangeSelectMode to control whether multi-selections are enabled for the control. Use Selection to access a single selected range for the grid. Use SelectedRange and SelectedRangeCount to access multi-selection ranges on the control.

Use FixedGrid to determine whether editable, non-fixed columns or rows are available on the grid control.

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