Question:
How can I open a modal screen according to mouse position?
Solution:
To do so, you must use GetMouseX and GetMouseY methods, which return the mouse’s coordinates, both in pixels. When clicking a screen object, a new model screen is opened according to the click’s position.
Example:
PosX = Application.GetMouseX()
PosY = Application.GetMouseY()
Application.DoModal “ModalScreenName”, “”, PosX, PosY, 0, 0, Arg