PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • 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
..SwipeEnabled enables or disables the management of the swipe gesture by the user:
  • 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 management mode of the swipe Hide the details

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

Modifying the management mode of the swipe Hide the details

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

Swipe in an internal window

By default, the swipe is enabled:
  • when the option "Allow the change of content by swipe" is enabled on an Internal Window control ("GUI" 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.
..SwipeEnabled is used to disable then re-enable the swipe by the user. This allows you to temporarily disable the swipe 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 "Swipe of a row: Customizable swipe" is enabled ("Details" tab in the description window of control),
  • 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.
..SwipeEnabled is used to disable then re-enable the swipe by the user. This allows you to temporarily disable the swipe in order to perform a specific action.
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment