RelativeRow Property

Applies To   See Also

Specifies the active row in the visible portion of a Grid control. Not available at design time; read-only at run time.

Syntax

Grid.RelativeRow[ = nRow]

Settings

nRow

Specifies the active row in a Grid control.

Remarks

Use the RelativeRow property to determine the relative position of the active row in a grid. For example, if you scroll through a grid so that the first row is no longer visible, but the active row is the first visible row in the grid, RelativeRow is set to 1. To determine the absolute position of the active row in a grid, use the ActiveRow property.