AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
  • 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.
Versión mínima requerida
  • Versión 16
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 03/07/2023

Señalar un error o enviar una sugerencia | Ayuda local