|
|
|
|
WinSlidingVisible (Function) In french: FenCoulissanteVisible Shows or hides: - a right or left sliding window (sliding menu).
New in version 2024a bottom sliding window (bottom sheet).
WinSlidingVisible(swLeft, True)
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 2024swBottom | A bottom sliding window (bottom sheet) is used. | swLeft | A left sliding window (sliding menu) is used. | swRight | A right sliding window (sliding menu) is used. |
<Display mode>: Integer constant Sliding window display mode: | | New in version 2024swCollapsed | 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 2024swExpanded | 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 2024swHalfExpanded | 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 2024swInvisible | The sliding window is invisible. Remark: this constant corresponds to False in previous versions. | New in version 2024swVisible | 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 2024swCollapsed | 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 2024swExpanded | 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 2024swHalfExpanded | 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 2024swInvisible | The sliding window is invisible. Remark: this constant corresponds to False in previous versions. | New in version 2024swVisible | 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 2024swBottom | A bottom sliding window (bottom sheet) is used. | swLeft | A left sliding window (sliding menu) is used. | swRight | A 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 2024bottom 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:
|
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
|
|
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
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|