[]
        
(Showing Draft Content)

C1.Win.TrueDBGrid.C1TrueDBGrid.MoveRelative

MoveRelative Method

MoveRelative(int)

Moves the current row positions of the grid by the given offset.

Declaration
public virtual void MoveRelative(int offset)
Public Overridable Sub MoveRelative(offset As Integer)
Parameters
Type Name Description
int offset

The number of records to move. A positive value indicates forward movement; a negative value indicates backward movement.

MoveRelative(int, int)

Moves the current row positions of the grid by the given offset from the given row.

Declaration
public virtual void MoveRelative(int offset, int row)
Public Overridable Sub MoveRelative(offset As Integer, row As Integer)
Parameters
Type Name Description
int offset

The number of records to move. A positive value indicates forward movement; a negative value indicates backward movement.

int row

The origin of the relative movement.