Skip to main content

Hi, Does anyone know if there's a function in "Universe Basic" to get the cursor position (row and column)? Thank you very much.

Hi, Does anyone know if there's a function in "Universe Basic" to get the cursor position (row and column)? Thank you very much.

If you have the host utilities from wIntegrate installed you could use WIN.EVAL and grab the current cursor positions in wIntegrate in your program

e.g.

CALL WIN.EVAL('Cursor(Get_X) : "," : Cursor(Get_Y)', XYPOS)

XPOS = FIELD(XYPOS, ",", 1)

YPOS = FIELD(XYPOS, ",", 2)