PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Limitations
  • Various
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
GestureNbPointer (Function)
In french: GesteNbPointeur
Returns the number of pointers in contact with the screen.
The returned value depends on how the function is used:
  • Used in an event linked to the movement of the pointer (click, move, pressed, released, etc.), returns the number of pointers (finger or stylus) currently in contact with the screen
  • Used in another event or process, returns the last known number of contact points.
Versions 19 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 19
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
Example
// -- Click code on an Image control
nbContactPoints is int
nbContactPoints = GestureNbPointer()
 
ToastDisplay("You are currently using " + nbContactPoints + " finger(s) on the screen")
Syntax
<Result> = GestureNbPointer()
<Result>: Integer
Number of pointers (fingers or styluses) in contact with the screen.
Remarks

Limitations

  • WEBDEV - Browser code The browser used must support the multi-touch feature.

Various

  • To find out the vertical position (Y) of a pointer, use GesturePosY.
  • To find out the horizontal position (X) of a pointer, use GesturePosX.
  • To find out the subscript of the pointer that triggered the execution of an event linked to a movement on the screen, use GestureCurrentPointer.
Component : WDJS.DLL
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment