SetCursor Method

RAMP-TS

SetCursor Method

Positions the cursor in a given row and column of the screen.

Syntax

Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)

#myscreen_wrapper.SetCursor RowNum(iRowNum) ColNum(iColNum)

 

Parameters

RowNum

Integer – Required

Integer that specifies the row number where to position the cursor. 

ColNum

Integer – Optional

Optional. Integer that specifies the column number where to position the cursor. 

Defaults to 1. 

 

 

Return Value

None

Examples

 

Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)

#myscreen_wrapper.setcursor Rownum(10)