ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Limitations
  • Special cases
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
From version 2025, ScrollWithFinger is kept for backward compatibility. This property has been replaced with TouchScrollable.
The TouchScrollable property is used to:
  • Determine if the control supports touch scrolling.
  • Enable or disable touch-responsiveness for a control.
WINDEV This property corresponds to the "Touch scrolling" option available in the "Details" tab of List Box, Table and Looper controls.
AndroidiPhone/iPadIOS Widget This property is mainly used to temporarily disable touch scrolling to draw in an Image control. Similarly, the pinch zoom can be interrupted with the TouchZoom property. Calling dStartDrawing and dEndDrawing automatically disables and re-enables pinch zoom and touch scrolling.
Example
IF CBOX_TouchInterface = True THEN
	TABLE_CustomerTable.TouchScrollable = True
ELSE
	TABLE_CustomerTable.TouchScrollable = False
END
AndroidiPhone/iPadIOS Widget
IF CBOX_DrawingMode = False THEN
	IMG_Photo.TouchScrollable = True
ELSE
	IMG_Photo.TouchScrollable = False
END
Syntax

Finding out if a control supports touch scrolling Hide the details

<Result> = <Control used>.TouchScrollable
<Result>: Boolean
  • True if the control supports touch scrolling,
  • 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 touch scrolling Hide the details

<Control used>.TouchScrollable = <Touch 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.
<Touch scrolling>: Boolean
  • True if the control supports touch scrolling,
  • False otherwise.
Remarks

Limitations

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

Special cases

Some systems may enable touch scrolling by default, even if the feature 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: 05/22/2025

Send a report | Local help