WINDEV, WEBDEV AND WINDEV MOBILEONLINE HELP
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 must be used only when GesturePosY is called in a process of an Image control. Otherwise, GesturePosY will return -1. This constant is not available.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: 05/03/2020
Send a report | Local help
J'accepte les termes de la licence
All you have to do is configure your product as follows: