ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Retrieving the mouse position in a page Hide the details
Horizontal position (or X coordinate) of the mouse cursor in relation to the specified marker (in pixels), 0 if the information is not available (depending on the browser used and on the control).
Marker used to calculate the position:mpControl(Default value)Mouse position relative to the top left point of the hovered control (or of the page if no control is hovered and if the event is on the page).If this constant is selected, MouseXPos must be used in the "OnClick" code of control.mpScreenMouse position in the screen (in relation to the top left corner of screen).mpPageMouse position in relation to the top left corner of page (while taking the page "scrolling" into account).
Limits in browser code
Last update: 04/15/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: