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
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 type of pointer used on the device: finger, mouse or stylus.
Note: This function is only available in WINDEV so that it can be used in the simulator..
Ejemplo
nType is int = GesturePointerType()
IF nType = typePointerFinger THEN Info("Finger is the pointer being used.")
Sintaxis
<Result> = GesturePointerType([<Pointer>])
<Result>: Integer
  • Pointer type used,
  • -1 if an error occurred.
The type of pointer can correspond to one of the following constants:
typePointerFingerThe pointer being used is the finger.
typePointerMouseThe pointer being used is the mouse.
typePointerStylusThe pointer being used is the stylus.
<Pointer>: Optional integer
Pointer index to find out. The index of the first pointer is set to 1.
  • If this parameter is not specified, the function will return the position of the first pointer.
  • If the index does not correspond to a valid pointer, the function will return -1.
iPhone/iPadMac Catalyst Only one pointer is managed.
Observaciones
  • The function GesturePointerType function must be used in events related to pointer movements: click, move, pointer down, pointer up, scroll, etc. If GesturePointerType is called in another event or process, <Result> will correspond to '-1'.
  • To get the pointer index that triggered the execution of an event linked to a movement on the screen, use GestureCurrentPointer.
  • iPhone/iPadMac Catalyst Only one pointer is managed.
Componente: wd300java.dll
Versión mínima requerida
  • Versión 24
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