Sign in Join
FPDoc Onlineexperiment

TCustomGrid.IsCellVisible function

Member of TCustomGridpublicIn unit Grids

Determines whether the specified cell is visible.

Declaration

pascal
function IsCellVisible(aCol: Integer; aRow: Integer): Boolean

Arguments

aCol

Column number for the cell.

aRow

Row number for the cell.

Function result

True if the cell is in the visible area for the grid control.

Description

IsCellVisible is a Boolean function which indicates whether the cell specified by ACol and ARow is in the visible area for the grid control. IsCellVisible uses the internal cached grid information to determine if the cell is within the cached visible coordinates for the control.

IsCellVisible is used in methods like DrawRow, DoEnter, and InvalidateCell.

Use IsFixedCellVisible to determine whether a specific fixed cell is within the visible area for the control.

See also

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