ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Retrieving the mouse position in a window Hide the details
Vertical position (Y-coordinate) of the mouse or stylus, in pixels. By default, this position is relative to the upper-left corner of the control on which the left mouse button was pressed. -1 if an error occurred.
Marker used to calculate the position: mpControl(Default value)Mouse position relative to the upper-left corner of the control or window, depending on where the event occurs.mpImageMouse position in the image (relative to the upper-left corner of the image). This constant should only be used when MouseYPos is called in an event associated with an Image control. Otherwise, MouseYPos will return -1.mpScreenMouse position in the screen (relative to the upper-left corner).mpWindowMouse position relative to the upper-left corner of the window. This parameter is not available.
Last update: 06/22/2023
Send a report |
I accept the
terms of the license agreement
All you have to do is configure your product as follows: