Partilhar via


RelativeColumn Property

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

Grid.RelativeColumn[ = nColumn]

Property Values

  • nColumn
    Specifies the active column in a Grid control.

Remarks

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

See Also

ActiveColumn Property | ActiveRow Property | RelativeRow Property

Applies To: Grid