ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Vertical position (or Y coordinate) in pixels of the pointer in relation to the relevant marker, -1 if an error occurred.
Subscript of the pointer (finger) whose vertical position must be retrieved. The first pointer in contact with the screen corresponds to the subscript 1.If this parameter is not specified, the function will return the position of the first pointer in contact with the screen. If the subscript does not correspond to a pointer in contact with the screen or if the specified subscript is greater than 1 and if the device does not support the multi-touch, the function will return -1.
Marker used to calculate the position: gpControl (default value)Position of the pointer in relation to the top left corner: of the control, of the window if the event is on the window.of the page if the event is on the page. gpScreenPosition of the pointer in the screen (in relation to the top left corner of the screen).gpWindowPosition of the pointer in relation to the top left corner of the window to which belongs the control on which the event occurred.gpImagePosition of the pointer in relation to the top left corner of the image displayed by an Image control. This constant can be used when an image is not entirely displayed in an Image control in order to find out the position of the pointer in the source image (while taking the possible zoom into account). This constant should only be used when the GesturePosY function is called in an event associated with an Image control. Otherwise, the function GesturePosY will return -1.Versions 19 and latergpPageNew in version 19gpPagegpPagePosition of the pointer in relation to the top left corner of the page to which belongs the control on which the event occurred. This constant is not available.
Position of several pointers
Last update: 10/12/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: