ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Limitations
  • Special cases
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The ScrollWithFinger property is used to:
  • Determine if the content of a control can be moved with the finger ("finger scrolling").
  • Enable or disable touch-responsiveness for a control.
WINDEV This property corresponds to the "Move with finger" option available in the "Details" tab of List Box, Table and Looper controls.
AndroidiPhone/iPadIOS Widget This property is mainly used to temporarily interrupt finger scrolling to draw in an Image control. Similarly, the pinch zoom can be interrupted with the ZoomWithFinger property. Calling dStartDrawing and dEndDrawing automatically disables and re-enables pinch zoom and finger scrolling.
Example
IF CBOX_TouchInterface = True THEN
TABLE_CustomerTable.ScrollWithFinger = True
ELSE
TABLE_CustomerTable.ScrollWithFinger = False
END
AndroidiPhone/iPadIOS Widget
IF CBOX_DrawingMode = False THEN
IMG_Photo.ScrollWithFinger = True
ELSE
IMG_Photo.ScrollWithFinger = False
END
Syntax

Finding out whether a control allows finger movement Hide the details

<Result> = <Control used>.ScrollWithFinger
<Result>: Boolean
  • True if the control allows finger movement,
  • False otherwise.
<Control used>: Control name
Name of the control used. This control can be:
  • a List Box control.
  • a Table control.
  • a Looper control.
  • AndroidiPhone/iPadIOS Widget an Image control.

Enabling or disabling finger movement Hide the details

<Control used>.ScrollWithFinger = <Finger scrolling>
<Control used>: Control name
Name of the control used. This control can be:
  • a List Box control.
  • a Table control.
  • a Looper control.
  • AndroidiPhone/iPadIOS Widget an Image control.
<Finger scrolling>: Boolean
  • True if the control allows finger scrolling,
  • False otherwise.
Remarks

Limitations

WINDEV The ScrollWithFinger property can only be used on List Box, Table and Looper controls.
AndroidiPhone/iPadIOS Widget The ScrollWithFinger property can only be used on Image controls.
iPhone/iPadIOS Widget Caution: The Scroll and Zoom feature must have been enabled in the description window of the Image control ("Automatic scrolling and zoom" option in the "Details" tab of the description window of the control).
WINDEV

Special cases

On some systems, an automatic scroll with finger (supplied by the system) can be enabled even if the scroll with finger is disabled for the control.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help