Vcl.Grids.TCustomGrid.Selection
Delphi
property Selection: TGridRect read GetSelection write SetSelection;
C++
__property TGridRect Selection = {read=GetSelection, write=SetSelection};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Description
Indicates the boundaries of the current selection.
Set Selection to select a range of cells in the grid. Selection can either represent the first column, first row, last column and last row in the grid, or the row and column coordinates of the upper left and bottom right cells in the selected region.
Selection can only indicate more than one cell when Options includes goRangeSelect.
See Also
Code Examples