PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
PageCurrentLayout (Function)
In french: PageAgencementEnCours
AjaxNot available
Returns the subscript of the current layout:
  • in the current page.
  • in the specified page or internal page.
Example
IF PageCurrentLayout() = 2 THEN
STC_Details = Customer.Details
END
Syntax

Finding out the layout of the current page Hide the details

<Result> = PageCurrentLayout()
<Result>: Integer
  • Subscript of current layout.
  • 0 if the page has no layout.

Finding out the layout of a specific page Hide the details

<Result> = PageCurrentLayout(<Page>)
<Result>: Integer
  • Subscript of current layout.
  • 0 if the internal page has no layout.
<Page>: Name of page or internal page
Name of page or internal 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 / GUI classification : GUI Code
Component : wd250page.dll
Minimum version required
  • Version 25
Comments
Click [Add] to post a comment