|
|
|
|
|
- Error
- Miscellaneous
- Limits in browser code
MouseXPos (Function) In french: SourisPosX Used in an linked mouse or stylus event (click code, hover code, left or right button pressed code, etc.) returns the horizontal position (X) of the mouse cursor relative to the control or window in question. You can get: - the position of the mouse (or stylus) when an Image control is clicked (function used in the "Click" event of the Image control).
- the position of the mouse (or stylus) when hovering over a window (function used in the optional "Mouse hover" event of a window).
Remarks: - The mouse position can also be obtained with CursorPos. CursorPos should only be used to modify the mouse position.
- This function should only be used in the events of controls hovered with the mouse.
- MouseXPos returns the last known position of the finger on the screen.
Related Examples:
|
Unit examples (WINDEV): The drawing functions
[ + ] Using the main drawing functions of WINDEV to: - Initialize an Image control for drawing - Draw simple shapes - Write a text into a drawing - Change the color in a drawing
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|