PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Swipe in an internal window
  • Swipe in a Looper control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The SwipeEnabled property enables or disables the swipe gesture support:
  • on an Internal Window control.
  • iPhone/iPad on a row in a Looper control.
Example
IWC_InternalWin.SwipeEnabled = False
iPhone/iPad
LOOP_Product[2].SwipeEnabled = False
Syntax

Finding out the swipe gesture management mode Hide the details

<Result> = <Control used>.SwipeEnabled
<Result>: Boolean
  • True if the swipe gesture is allowed,
  • False otherwise.
<Control used>: Control name
  • Name of Internal Window control used.
  • iPhone/iPad Row of Looper control used. In this case, the following notation is used:
    Name_Looper_control[Row_Number]

Modifying the swipe gesture management mode Hide the details

<Control used>.SwipeEnabled = <Swipe management>
<Control used>: Control name
  • Name of Internal Window control used.
  • iPhone/iPad Row of Looper control used. In this case, the following notation is used:
    Name_Looper_control[Row_Number]
<Swipe management>: Boolean
  • True if the swipe gesture is allowed,
  • False otherwise.
Remarks

Swipe in an internal window

By default, the swipe gesture is enabled:
  • when the option "Allow the change of content by swipe" is enabled on an Internal Window control ("UI" tab in the control description window),
  • when more than one internal window was added by IWListAdd.
In this case, the user can modify the internal window displayed via a simple finger 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.
iPhone/iPad

Swipe in a Looper control

The swipe is enabled by default in a Looper control when:
  • the option "Row swipe: Customizable swipe" is enabled ("Details" tab in the control description window),
  • an internal window was defined for the custom swipe.
In this case, the user can display the internal window via a simple touch 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