Objective Grid: Positioning the current cell

Article ID: 391
Last updated: 27 Apr, 2018
Article ID: 391
Last updated: 27 Apr, 2018
Revision: 3
Views: 1808
Posted: 09 Jan, 2001
by Meltreger B.
Updated: 27 Apr, 2018
by Meltreger B.

Problem

 


How can I programmatically position the current cell?

 

 


Cause

 


 

 


Action

 


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 one 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.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 391
Last updated: 27 Apr, 2018
Revision: 3
Views: 1808
Posted: 09 Jan, 2001 by Meltreger B.
Updated: 27 Apr, 2018 by Meltreger B.

Others in this category