Object Reference > True DBGrid Methods > MoveRelative Method |
MoveRelative Method
The MoveRelative method operates like the Move method of the Recordset object; it moves the current record offset rows relative to the specified bookmark.
TDBGrid.MoveRelative offset, [bookmark]
Arguments
offset is a long integer that specifies the number of records to move. A positive value indicates forward movement; a negative value indicates backward movement.
bookmark is an optional variant that specifies the origin of the relative movement. If not specified, the current record is assumed.
Return Value
None