ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
VerticalSwipe (Property)
In french: BalayageVertical
The VerticalSwipe property is used to determine and change the swipe direction in an internal window with swipe gesture support.
Remark: This property corresponds to the "Swipe orientation" option in the "UI" tab of the description window of an Internal Window control.
Example
// Event: Changing the orientation of the window
// The following code is used to always swipe on the same axis
IW_MyInternalWin1.VerticalSwipe = NOT IW_MyInternalWin1.VerticalSwipe
Syntax

Finding out the swipe direction Hide the details

<Result> = <Internal Window control>.VerticalSwipe
<Result>: boolean
  • True if the swipe is performed vertically,
  • False otherwise: the swipe is performed horizontally.
<Internal Window control>: Control name
Name of the Internal Window control used.
Android Not available for Android applications

Modifying the swipe direction Hide the details

<Internal Window control>.VerticalSwipe = <Direction>
<Internal Window control>: Control name
Name of Internal Window control used.
<Direction>: boolean
  • True if the swipe must be performed vertically,
  • False if the swipe must be performed horizontally.
Remarks
This property has n effect if the swipe feature is not enabled on the Internal Window control. For more details, see Changing the window content by swipe.
Android This property is read-only.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/22/2022

Send a report | Local help