Home | Sign in | English UK
  • Overview
  • Multi-touch: Specific WLanguage functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
A "multi-touch" feature is a technique allowing the user to interact with a device via several contact points (the fingers are used in most cases).
One of the most common applications of the multi-touch feature is used to handle images. The display size on a phone being reduced, it is often necessary to perform a zoom and/or to move in an image.
This allows you to perform a zoom on an image via the contact of 2 fingers moving apart.
WINDEV Mobile allows you to manage the multi-touch in the Android and iPhone/iPad applications via:
Versions 18 and later
iPhone/iPad This feature is now available for iPhone/iPad applications.
New in version 18
iPhone/iPad This feature is now available for iPhone/iPad applications.
iPhone/iPad This feature is now available for iPhone/iPad applications.
Multi-touch: Specific WLanguage functions
Several WLanguage functions can be used to manage the multi-touch in the following processes of controls:
  • Pressed/Left button down (optional process)
  • Released/Left button up (optional process)
  • Tap/Click
  • Double tap/Double click with left button (optional process)
  • Move (optional process).
These functions are:
GestureCurrentPointerReturns the subscript of the pointer (finger or stylus) that triggered the call to a process specific to the multi-touch in an Image control.
GestureNbPointerReturns the number of pointers in contact with the screen.
GesturePosXReturns the horizontal position of the pointer (finger or stylus).
GesturePosYReturns the vertical position of the pointer (finger or stylus).
Related Examples:
Android System Android (WINDEV Mobile): Android System
[ + ] This application is a tutorial example presenting some of the new features of WINDEV Mobile for Android.
The following system functions are used:
- Multimedia control
- Brightness
- Volume
- Bluetooth
- Toast
- Progress Bar control
- 9-image mode
- Compass
- Accelerometer
- Camera control
- Vibrations
- Notifications
- Drawing functions
- Internet
iOS System iPhone/iPad (WINDEV Mobile): iOS System
[ + ] This application is an example presenting the use of various features.
The features are as follows:
- Playing videos
- Trace in the logs
- Slider
- Popup control
- Hourglass
Minimum version required
  • Version 17
This page is also available for…
Click [Add] to post a comment