ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV Mobile 2024 feature!
Help / WLanguage / WLanguage syntax / Reserved keywords
  • Manipulating the controls of the sliding window from the current window
  • Limitation
  • Bottom sliding window properties
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
The MyBottomSlidingWindow keyword is used to manipulate the bottom sliding window associated with the current window. At runtime, the MyBottomSlidingWindow keyword is manipulated as if it were the actual window, and not only a name that references the window. The MyBottomSlidingWindow keyword is then used as a window.
Use: The MyBottomSlidingWindow keyword allows you to manipulate the controls in the bottom sliding window directly from the current window.
Example
MyBottomSlidingWindow.HeightCollapsed = 58 // Value in pixels
MyBottomSlidingWindow.HeightHalfExpanded = swFitToContent
MyBottomSlidingWindow.HeightExpanded = 0.9 // 90%
// Opens the bottom sliding window
WinSlidingVisible(swBottom, swHalfExpanded)
Syntax
MyBottomSlidingWindow
Remarks

Manipulating the controls of the sliding window from the current window

The MyBottomSlidingWindow keyword is always replaced by the bottom sliding window defined for the current window. In the example below, the Color property is used on a Static control:
// Changes the color of a text in the bottom sliding window
MyBottomSlidingWindow.STC_Caption.Color = LightRed

Limitation

The MyBottomSlidingWindow keyword allows you to access the controls in the sliding window. It can also be used to call the procedures of this window.
However, the MyBottomSlidingWindow keyword cannot be used to access the variables or properties of the sliding window.

Bottom sliding window properties

New in version 2024
HeightCollapsed
The HeightCollapsed property gets and sets the "collapsed" height of the bottom sliding window associated with the current window.
New in version 2024
HeightExpanded
The HeightExpanded property gets and sets the "expanded" height of the bottom sliding window associated with the current window.
New in version 2024
HeightHalfExpanded
The HeightHalfExpanded property gets and sets the "half-expanded" height of the bottom sliding window associated with the current window.
New in version 2024
Hideable
The Hideable property determines if the user can close a bottom sliding window with a touch gesture.
New in version 2024
InternalWindow
The InternalWindow property gets and sets the internal window contained in the bottom sliding window associated with the current window.
New in version 2024
Modal
The Modal property determines whether the bottom sliding window associated with the current current window is modal or modeless.
New in version 2024
RoundedCorner
The RoundedCorner property allows you to determine whether the bottom sliding window associated with the current window has rounded corners.
Minimum version required
  • Version 2024
Comments
Click [Add] to post a comment

Last update: 03/08/2024

Send a report | Local help