ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
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
Shows or hides:
  • a right or left sliding window (sliding menu).
  • New in version 2024
    a bottom sliding window (bottom sheet).
Example
// Click on MENU_Visible
WinSlidingVisible(swLeft, True) 

// Click on Close_the_menu
WinSlidingVisible(swLeft, False)
MyLeftSlidingWindow.ConnectAfter(False)
WinSlidingVisible(swLeft, True)
Syntax

Defining the characteristics of a sliding window Hide the details

WinSlidingVisible(<Sliding window> , <Display mode>)
<Sliding window>: Integer constant
Sliding window to use. This sliding window is defined in the description of the main window:
New in version 2024
swBottom
A bottom sliding window (bottom sheet) is used.
swLeftA left sliding window (sliding menu) is used.
swRightA right sliding window (sliding menu) is used.
<Display mode>: Integer constant
Sliding window display mode:
New in version 2024
swCollapsed
Only the content at the top of the sliding window is shown at the bottom of the host window.
This constant can only be used if the sliding window appears from the bottom.
New in version 2024
swExpanded
The sliding window takes up the entire screen or most of it, hiding the contents of the host window.
This constant can only be used if the sliding window appears from the bottom.
New in version 2024
swHalfExpanded
Most of the content of the sliding window is shown on screen. Generally, this mode takes up half of the host window.
This constant can only be used if the sliding window appears from the bottom.
New in version 2024
swInvisible
The sliding window is invisible.
Remark: this constant corresponds to False in previous versions.
New in version 2024
swVisible
The sliding window is visible.
Remark: this constant corresponds to True in previous versions.

Getting the characteristics of a sliding window Hide the details

<Result> = WinSlidingVisible(<Sliding window>)
<Result>: Integer constant
Sliding window display mode:
New in version 2024
swCollapsed
Only the content at the top of the sliding window is shown at the bottom of the host window.
This constant can only be used if the sliding window appears from the bottom.
New in version 2024
swExpanded
The sliding window takes up the entire screen or most of it, hiding the contents of the host window.
This constant can only be used if the sliding window appears from the bottom.
New in version 2024
swHalfExpanded
Most of the content of the sliding window is shown on screen. Generally, this mode takes up half of the host window.
This constant can only be used if the sliding window appears from the bottom.
New in version 2024
swInvisible
The sliding window is invisible.
Remark: this constant corresponds to False in previous versions.
New in version 2024
swVisible
The sliding window is visible.
Remark: this constant corresponds to True in previous versions.
<Sliding window>: Integer constant
Sliding window to use. This sliding window is defined in the description of the main window:
New in version 2024
swBottom
A bottom sliding window (bottom sheet) is used.
swLeftA left sliding window (sliding menu) is used.
swRightA right sliding window (sliding menu) is used.
Remarks
  • The sliding window must first be defined in the window editor (in the description of the host window).
  • By default:
    • left or right sliding windows (sliding menus) are opened with a swipe gesture from the left or right border of the screen ("Swipe" option in the window editor).
    • New in version 2024
      bottom sliding windows (bottom sheets) are opened with a swipe gesture from the bottom of the screen
    WinSlidingVisible can be used to open sliding windows with a button, for example.
  • Calling Close in the internal window used as a sliding window closes both the host and the sliding window.
Related Examples:
WM System Cross-platform examples (WINDEV Mobile): WM System
[ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- Wi-Fi
- Bluetooth
- Toast
- Compass
- Accelerometer
- Camera control
- LED
- Vibration
- Notifications
- Drawing functions
- Internet
WM FTP Client Cross-platform examples (WINDEV Mobile): WM FTP Client
[ + ] This example is an FTP Client for Android and iOS.
It explains how to interact with an FTP server via the FTP functions of WLanguage.
It is used to:
- Rename files
- Delete files
- Create folders
- Download files
- Send files to the server
Business / UI classification: UI Code
Component: wd290android.aar
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/20/2024

Send a report | Local help