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

Return Value

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

Remarks

Applies To: Grid

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

Reference

ActiveColumn Property

ActiveRow Property

RelativeColumn Property

Other Resources

Properties (Visual FoxPro)