From Xojo Documentation


Window.MouseUp(X as Integer, Y as Integer)

Supported for all project types and targets.

The mouse button has been released inside the window. This event will not occur unless you return True in the MouseDown event handler. The idea behind this is that if the mouse was never down, it can’t be up. This event handler receives parameters x and y that indicate where the mouse was released in local window. coordinates.