[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Provides indexed access to the selected state for a cell by its column and row number.
Source position: grids.pas line 1277
protected property TCustomGrid.IsCellSelected[aCol: Integer,aRow: Integer] : Boolean |
IsCellSelected is an indexed Boolean property which provides access to the selected state for a cell using its column and row number. ACol and ARow contain the column and row number for the cell.
Compares the cell coordinates in ACol and ARow to the current Selection in the grid control. The return value is True if the cell is in the cell range in Selection.
If RangeSelectMode is set to rsmMulti, all of the existing range selections are examined for the specified cell. The property value is True when the cell is located in the array of rectangles used for multi-selections in the grid control.
Otherwise, the property value is set to False.
Version 4.0 | Generated 2025-05-03 | Home |