TCustomGrid.GetFirstVisibleRow function
Gets the row number for the first visible non-fixed row in the grid.
Declaration
function GetFirstVisibleRow: IntegerFunction result
Row number for the first visible row.
Description
GetFirstVisibleRow is an
Integer function used to get
the row number for the first visible non-fixed row in the grid. A visible row
is one which starts after the fixed rows specified in
FixedRows and
has a non-zero height for the row in
RowHeights.
The return value contains the row number (zero-based) for the row matching the
criteria. If a non-fixed row with a non-zero height is not found, the return
value is set to RowCount.
GetFirstVisibleRow is called from the KeyDown method when handling Tab key navigation for the grid control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
