Screen.setCursorPosition()

Overview

Set cursor position for the current screen. Only valid for 3270 and 5250 TE hosts.

Added in version 2.1.31

Use Case

Put the cursor in a specific place on the screen.

Format

Screen.setCursorPosition(row, column);

Parameter Description Type Required
row The native screen row. 0 based. Number Required
column The native screen column. 0 based. Number Required

Example

Copy
/* Set the cursor at the 5th row and 10th column
 */
 
Screen.setCursorPosition(4, 9);