MultiValue Tools

 View Only

 Position ot the cursor on wintegrate

Alfons Romeu Gavin's profile image
Alfons Romeu Gavin posted 04-15-2025 17:43

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

Mike Young's profile image
Mike Young

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)