ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
Returns the index of the current layout:
  • in the current page.
  • in the specified page.
Example
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:
    layoutPrintThe specific layout for printing is being used.
    New in version 28
    layoutWINDEV
    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:
    layoutPrintThe specific layout for printing is being used.
    New in version 28
    layoutWINDEV
    The specific layout for WINDEV is being used.
<Page>: Page name
Name of the page used.
Remarks
  • The layouts are numbered in their creation order in edit.
  • The layout changes if the device orientation changes or if PageChangeLayout is run.
Business / UI classification: UI Code
Component: wd280page.dll
Minimum version required
  • Version 25
Comments
Click [Add] to post a comment