|
|
|
|
|
MouseYPos (Function) In french: SourisPosY Used in a mouse or stylus event (click code, hover code, left or right button pressed code, etc.) returns the vertical position (Y) of the mouse cursor in relation to the field 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: - This function should only be used in the events of controls hovered with the mouse.
- MouseYPos 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|