Skip to main content
Question

Position ot the cursor on wintegrate

  • April 15, 2025
  • 1 reply
  • 0 views

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

1 reply

Mike Young
  • Participating Frequently
  • 22 replies
  • April 16, 2025

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)