PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV, WINDEV Mobile 24 feature!
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
GesturePointerType (Function)
In french: GesteTypePointer
Returns the type of pointer used on the device: finger, mouse or stylus.
Note: This function is available in WINDEV only to be used in the simulator.
Example
nType is int = GesturePointerType()
IF nType = typePointerFinger THEN Info("Finger is the pointer being used.")
Syntax
<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.
typePointerStylusThe pointer being used is the stylus.
typePointerMouseThe pointer being used is the mouse.
<Pointer>: Optional integer
Pointer subscript to find out. The subscript 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 subscript does not correspond to a valid pointer, the function will return -1.
iPhone/iPad Only one pointer is managed.
Remarks
  • GesturePointerType must be used in processes that are linked to pointer movements: click, move, pointer pressed, pointer released, scroll, etc. If GesturePointerType is called in another process, <Result> will correspond to '-1'.
  • To find out the subscript of the pointer that triggered the execution of a process linked to a movement on the screen, use GestureCurrentPointer.
  • iPhone/iPad Only one pointer is managed.
Component : wd240java.dll
Minimum required version
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment