ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 2425262728
Retrieving the mouse position in a window Hide the details
Horizontal position (X-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 hovered control or window, depending on where the event occurs.mpImageMouse position in the Image control (relative to the upper-left corner). This constant should only be used when MouseXPos is called in an event associated with an Image control. Otherwise, MouseXPos 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.
Retrieving the mouse position in a page Hide the details
Horizontal position (X-coordinate) of the mouse cursor relative 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 upper-left corner of the hovered control or page, depending on where the event occurs.If this constant is selected, MouseXPos must be used in the "OnClick" code of the control.mpPageMouse position relative to the upper-left corner of the page (taking into account the position of the page if it has been scrolled).mpScreenMouse position in the screen (relative to the upper-left corner).
Error
Miscellaneous
Limits in browser code
Last update: 05/26/2022
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: