Sets the row containing the cursor within the Editor.
Scope: View
Syntax
query cursorrow
set cursorrow RowNumber
Option
RowNumber |
The row number where the cursor is to be positioned. It must not be beyond the bottommost row. |
Description
The cursorrow parameter sets the row containing the cursor within the Editor. The topmost row of the window is row 1. The Editor adjusts the value if necessary so that the cursor position is within the text entry portion of the screen. If the RowNumber is set to a row in a nontext entry area, the Editor places the cursor on the closest available row and adjusts the RowNumber to reflect the change.
Example
To set the cursor to a new row, type:
set cursorrow 17
API Return Codes
-2 |
The RowNumber specified was larger than the number of rows in the window. Specify a number smaller than the number of rows in the window. |
![]()
cursorpos Parameter
cursorcol Parameter
