|
|
|
|
|
PageChangeLayout (Function) In french: PageChangeAgencement Applies a specific layout to a page. // 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.
Forcing the layout on a specific page Hide the details
PageChangeLayout(<Page> , <Layout number>)
<Page>: Page name Name of the page to be used. <Layout number>: Integer 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 "Whenever changing layout" event of the page. To force the execution of this event, use ExecuteProcess with the trtChangeLayout constant.
Business / UI classification: UI Code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|