PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

New WEBDEV 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
PageChangeLayout (Function)
In french: PageChangeAgencement
Applies a specific layout to:
  • a page.
  • an internal page.
Example
// Forces the use of first layout if the width of screen is set to 320
IF MySelf..Width = 320
PageChangeLayout(1)
END
Syntax

Forcing the layout on the current page Hide the details

PageChangeLayout(<Layout number>)
<Layout number>: Integer
Number of the layout to apply.
Versions 22 and later

Forcing the layout on a specific page Hide the details

PageChangeLayout(<Page> , <Layout number>)
<Page>: Page name
Name of page or internal page to use.
<Layout number>: Integer
Number of the layout to apply.
New in version 22

Forcing the layout on a specific page Hide the details

PageChangeLayout(<Page> , <Layout number>)
<Page>: Page name
Name of page or internal page to use.
<Layout number>: Integer
Number of the layout to apply.

Forcing the layout on a specific page Hide the details

PageChangeLayout(<Page> , <Layout number>)
<Page>: Page name
Name of page or internal page to use.
<Layout number>: Integer
Number of the layout to apply.
Remarks
  • The layout number is specified in the title bar of layout.
    Layout numbers
  • 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, the orientation and the size of screen.
  • 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 page. To force the execution of this event, use ExecuteProcess associated with the trtChangeLayout constant.
Business / GUI classification : GUI Code
Component : wd250page.dll
Minimum version required
  • Version 25
Comments
Click [Add] to post a comment