|
|
|
|
PageCurrentLayout (Function) In french: PageAgencementEnCours Returns the index of the current layout: - in the current page.
- in the specified page.
IF PageCurrentLayout() = 2 THEN STC_Details = Customer.Details 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:
| | layoutPrint | The specific layout for printing is being used. | New in version 28layoutWINDEV | The specific layout for WINDEV is being used. |
Getting the layout of a specific page Hide the details
<Result> = PageCurrentLayout(<Page>)
<Result>: Integer - Index of the current layout.
- 0 if the internal page has no layout.
- one of the following constants:
| | layoutPrint | The specific layout for printing is being used. | New in version 28layoutWINDEV | The specific layout for WINDEV is being used. |
<Page>: Page name Name of the page used. 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|