AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones específicas para móviles / Funciones Multi-Touch
  • Limitations
  • Miscellaneous
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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.
Ejemplo
// -- Click code on an Image control
nbContactPoints is int
nbContactPoints = GestureNbPointer()
 
ToastDisplay("You are currently using " + nbContactPoints + " finger(s) on the screen")
Sintaxis
<Result> = GestureNbPointer()
<Result>: Integer
Number of pointers (fingers or styluses) that touch the screen.
Observaciones

Limitations

  • WEBDEV - Código Navegador The browser used must support the multi-touch feature.

Miscellaneous

  • 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 get the pointer index that triggered the execution of an event linked to a movement on the screen, use GestureCurrentPointer.
Componente: WDJS.DLL
Versión mínima requerida
  • Versión 17
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local