ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
Applies a specific layout to:
  • a window.
  • an internal window.
Example
// Force l'utilisation du premier agencement si l'écran fait 320 de large
IF MySelf.Width = 320
WinChangeLayout(FEN_Détail, 1)
END
Syntax

Forcing the layout on the current window Hide the details

WinChangeLayout(<Layout number>)
<Layout number>: entier
Number of the layout to apply.

Forcing the layout on a specific window Hide the details

WinChangeLayout(<Window> , <Layout number>)
<Window>: Window name
Name of the window or the internal window of handle.
<Layout number>: entier
Number of the layout to apply.
Remarks
  • The layout number is specified in the layout title bar.
  • The sizes, positions and visibility of the controls are modified according to the layout defined during editing.
  • The initial layout is automatically chosen according to the platform, orientation and screen size.
  • The layout used is automatically modified when the device switches from portrait mode to landscape mode.
  • This function does not trigger the "Changing layout" event of the window. To force the execution of this event, use ExecuteProcess with the trtChangeLayout constant.
Business / UI classification: UI Code
Component: wd280obj.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment