|
|
|
|
|
PageCurrentLayout (Function) In french: PageAgencementEnCours Returns the index of the current layout: - in the current page.
- in the specified page.
New in version 2025IF PageCurrentLayout() = 2 THEN
LIB_Détail = Client.Détail
END
Syntax
Getting the layout of the current page Hide the details
<Result> = PageCurrentLayout()
<Result>: Integer - Index of the current layout.
- 0 if the page has no layout.
- one of the following constants:
| | agencementWINDEVMobile | The specific layout for WINDEV Mobile is in progress. | layoutPrint | The specific layout for printing is being used. | layoutWINDEV | The specific layout for WINDEV is being used. | layoutWINDEVMobileTablet | The specific layout for WINDEV Mobile (tablet) is in progress. |
Remarks - Layouts are numbered in the order in which they were created.
- The layout changes if the device orientation changes or if PageChangeLayout is run.
Related Examples:
|
Complete examples (WEBDEV): WW_Rewali
[ + ] This example is a site for travel booking. It proposes travels at very attractive prices. You have the ability to choose the travel duration, the start dates, then validate the purchase until the payment via Paypal. It is using the "scrolling banner" control and the planes.
|
Business / UI classification: UI Code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|