Share via


RelativeRow Property

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

Grid.RelativeRow

Property Values

  • nRow
    Numeric data type. RelativeRow contains the number of the active row in a Grid control.

Remarks

You can use RelativeRow 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

Properties | ActiveColumn Property | ActiveRow Property | RelativeColumn Property

Applies To: Grid