From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

DesktopUIControl.MouseMove(X as Integer,Y as Integer)

New in 2021r3

Supported for all project types and targets.

The mouse has moved within the control to the coordinates passed. The coordinates are local to the control, not to the window.