[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the row number for the first visible non-fixed row in the grid.
Source position: grids.pas line 1118
protected function TCustomGrid.GetFirstVisibleRow: Integer; |
Row number for the first visible row.
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.
|
Number of the fixed rows in the grid. |
|
|
Number of rows in the grid. |
|
|
Provides indexed access to the height for each row in the grid. |
|
|
Gets the row number for the last visible non-fixed row in the grid. |
|
|
Gets the column number for the first visible non-fixed column in the grid. |
|
|
Gets the column number for the last visible non-fixed column in the grid. |
|
|
Handles key down events for the grid control. |
Version 4.0 | Generated 2025-05-03 | Home |