Share via


RelativeRow Property

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

Grid.RelativeRow[ = nRow]

Property Values

  • 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.

See Also

ActiveColumn Property | ActiveRow Property | RelativeColumn Property

Applies To: Grid