How to programmatically position the current cell.

You can position the current cell directly to a give row and column with

SetCurrentCell(nRow, nCol);

Or you can move the current cell in a given direction with

MoveCurrentCell(direction, nCount); 

Whereas direction can be on of

  • GX_UP – move up

  • GX_DOWN – move down

  • GX_LEFT – move left

  • GX_RIGHT - Move right

nCount specifies the number of cells to jump.