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
Constants for managing windows
ConstantDescriptionUsed by the functions
DefaultConfigure the sizeWinSize
effectAnimationDisables the animations of the windows.WinDisableEffect
effectBlurDisables the halo around the buttons.WinDisableEffect
effectDDWDisables the DDW feature.WinDisableEffect
effectTranslucentBorderDisables the translucent border of windows.WinDisableEffect
imgCenteredDisplay mode: image centered in the window.WinBackgroundImage
imgHDisplay mode: Image enlarged or reduced (by respecting the proportions of the initial image) to occupy the entire surface of the window.WinBackgroundImage
imgHCDisplay mode: Image enlarged or reduced (by respecting the proportions of the initial image) and centered in the window.WinBackgroundImage
imgHCEDisplay mode: Image enlarged or reduced (by respecting the proportions of the initial image) so that the smaller side of the image is entirely displayed in the window and centered in the window.WinBackgroundImage
imgHCWISDisplay mode: If the image can be entirely displayed in the window, it is displayed at 100% and centered in the window. Otherwise, the image is proportionally reduced so that it can be entirely displayed and centered in the window.WinBackgroundImage
imgHEDisplay mode: Image enlarged or reduced (by respecting the proportions of the initial image) so that the smaller side of the image is entirely displayed in the window.WinBackgroundImage
imgHWISDisplay mode: If the image can be entirely displayed in the window, it is displayed at 100%. Otherwise, it is downsized, while maintaining its aspect ratio to fit the control.WinBackgroundImage
imgNormalDisplay mode: 100% in the top left corner of the window.WinBackgroundImage
imgStretchedDisplay mode: image stretched across the entire surface of the window.WinBackgroundImage
imgTiledDisplay mode: Image displayed at 100% and tiled to occupy the entire surface of control (tile).WinBackgroundImage
MaxSizeDisplay mode of the window: maximized window.WinSize
MinSizeDisplay mode of the window: minimized window.WinSize
NormalSizeDisplay mode of the window: window neither maximized, nor minimized.WinSize
poAccordingToControlOpens the popup window according to the position of a control other than the calling control. In this case:
  • the control name must be specified (<Control name>),
  • the name of the control will be automatically retrieved by MyPopupControl.
Constant kept for backward compatibility
OpenPopupPosition
poBottomThe popup window will be opened below the calling control.
Constant kept for backward compatibility
OpenPopupPosition
poFixedPositionDisables the automatic positioning if the popup window may not be entirely visible on the screen.
Constant kept for backward compatibility
OpenPopupPosition
poLeftThe right border of the popup window will be aligned with the right border of the control. The popup window stretches to the left.
Constant kept for backward compatibility
OpenPopupPosition
popAboveThe popup window will be opened above the calling control.OpenPopupAsynchronous
OpenPopupPosition
popAccordingToControlOpens the popup window according to the position of a control other than the calling control. OpenPopupAsynchronous
OpenPopupPosition
popAlignedLeftThe left border of the popup window will be aligned with the left control border. The popup window stretches to the right.OpenPopupAsynchronous
OpenPopupPosition
popAlignedRightThe right border of the popup window will be aligned with the right border of the control. The popup window stretches to the left.OpenPopupAsynchronous
OpenPopupPosition
popBelow The popup window will be opened below the calling control.OpenPopupAsynchronous
OpenPopupPosition
popCenteredHorizontallyThe popup window is centered horizontally with the calling control.OpenPopupAsynchronous
OpenPopupPosition
popCenteredWindowThe popup window is centered relative to the parent window.OpenPopupAsynchronous
OpenPopupPosition
popDefaultThe position of the popup window is set by default. OpenPopupAsynchronous
OpenPopupPosition
popDisableAutoRepositioningDisables automatic repositioning if the popup window is likely to be truncated.OpenPopupAsynchronous
OpenPopupPosition
poRightThe left border of the popup window will be aligned with the left control border. The popup window stretches to the right.
Constant kept for backward compatibility
OpenPopupPosition
poTopThe popup window will be opened above the calling control.
Constant kept for backward compatibility
OpenPopupPosition
screenAllCoordinates of the screen where the window is displayed: total size of the screen.WinScreenRectangle
screenWithoutTaskbarCoordinates of the screen where the window is displayed: If the taskbar is active on the screen, its size is subtracted.WinScreenRectangle
swBottomThe bottom sliding window (bottom sheet) is manipulated.WinSlidingVisible
swCollapsedOnly the content at the top of the sliding window is shown at the bottom of the host window.WinSlidingVisible
swExpandedThe bottom sliding window takes up the entire screen or most of it, hiding the contents of the host window.WinSlidingVisible
swHalfExpandedMost of the content of the bottom sliding window is shown on screen. Generally, this mode takes up half of the host window.WinSlidingVisible
swInvisibleThe sliding window is invisible.
Remark: this constant corresponds to False in previous versions.
WinSlidingVisible
swLeftThe left sliding window is used.WinSlidingVisible
swRightThe right sliding window is used.WinSlidingVisible
swVisibleThe sliding window is visible.
Remark: this constant corresponds to True in previous versions.
WinSlidingVisible
waBookThe plane of the window is displayed on a book that opens.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waCircularFadeInThe window is displayed inside a disk whose size increases.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waDefaultDefault animation proposed by WINDEV.
This constant cannot be combined with the other constants.
WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waFountainThe window appears bit by bit, as if coming out of a fountain.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waInterleaveThe four corners of the window merge while inter-penetrating.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waMorphCylinderThe plane of the window is displayed on a cylinder that slowly changes into a plane.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waMorphSphereThe plane of the window is displayed on a sphere that slowly changes into a plane.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waMorphWaveThe plane window is displayed on waves that fade away.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waNoneNo animation.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waRandomA random animation is selected by WINDEV.
This constant cannot be combined with the other constants.
WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waRotationMultiThe window rotates around all axes.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waRotationXThe window quickly rotates around the X axis.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waRotationYThe window slowly rotates around the Y axis.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waTopFillingThe window fills from the top to the bottom.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waTransparent1The window transparency changes from 30 % to 80 %.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waTransparent2The window transparency changes from 0% to 100%.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waTransparentFixedThe transparency remains the same (50%) during the animation.WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waVistaWindows Vista animation (combination of rotation, transparency and relocation).WinAnimationClosing
WinAnimationOpening
WinAnimationNext
waZigZagZig zag effectWinAnimationClosing
WinAnimationOpening
WinAnimationNext
waZoomZoom from the click position to the final position (straight line and constant speed).WinAnimationClosing
WinAnimationOpening
WinAnimationNext
winOrientationLandscapeWindow displayed in landscape mode.WinOrientation
winOrientationPortraitWindow displayed in portrait mode.WinOrientation
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/15/2024

Send a report | Local help