ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Swipe gesture in an internal window
  • Swipe gesture in a Looper control
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The SwipeEnabled property enables or disables the swipe gesture support:
  • on an Internal Window control.
  • on a row in a Looper control.
Example
IWC_InternalWin.SwipeEnabled = False
LOOP_Product[2].SwipeEnabled = False
Syntax

Determining if the swipe gesture is enabled or disabled Hide the details

<Result> = <Control used>.SwipeEnabled
<Result>: Boolean
  • True if the swipe gesture is enabled,
  • False otherwise.
<Control used>: Control name
  • Name of the Internal Window control used.
  • Row of the Looper control used. In this case, the following syntax is used:
    Looper_control[Row_Number]

Changing the swipe gesture mode Hide the details

<Control used>.SwipeEnabled = <Swipe mode>
<Control used>: Control name
  • Name of the Internal Window control used.
  • Row of the Looper control used. In this case, the following syntax is used:
    Looper_control[Row_Number]
<Swipe mode>: Boolean
  • True if the swipe gesture is enabled,
  • False otherwise.
Remarks

Swipe gesture in an internal window

Scanning is activated by default:
  • when the "Allow swipe to change content" option is enabled on an Internal Window control ("UI" tab in the control description window),
  • when more than one internal window was added with IWListAdd.
In this case, the user can change the internal window with a simple touch gesture.
The SwipeEnabled property is used to disable then re-enable swipe gesture support. This allows you to temporarily disable the swipe gesture in order to perform a specific action.

Swipe gesture in a Looper control

The swipe gesture is enabled by default in a Looper control when:
  • the "Row swipe: Customizable scan" option is enabled ("Detail" tab in the control description window),
  • an internal window has been defined for the custom swipe.
In this case, the user can open the internal window with a simple swipe gesture on the row of the Looper control.
The SwipeEnabled property is used to disable then re-enable swipe gesture support. This allows you to temporarily disable the swipe gesture in order to perform a specific action.
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment

Last update: 12/05/2024

Send a report | Local help