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

TCustomDBGrid.SelectCell

Indicates if the cell at the specified coordinates can be selected in the control

Declaration

Source position: dbgrids.pas line 506

protected function TCustomDBGrid.SelectCell(

  aCol: Integer;

  aRow: Integer

):Boolean; override;

Arguments

aCol

  

Column for the cell

aRow

  

Row for the cell

Function result

True when the cell can be selected

Description

SelectCell is an overridden Boolean function that indicates if the cell at the specified coordinates can be selected in the control. SelectCell uses ColWidths and RowHeights to determine if the cell can be visually selected. The return value is True when both contain positive non-zero values.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.