PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
WinCurrentLayout (Function)
In french: FenAgencementEnCours
Returns the index of the current layout:
  • in the current window.
  • in the specified window or internal window.
Example
IF WinCurrentLayout() = 2 THEN
STC_DETAILS = CUSTOMER.DETAILS
END
Syntax

Finding out the layout of the current window Hide the details

<Result> = WinCurrentLayout()
<Result>: Integer
  • Index of the current layout.
  • 0 if the window includes no layout.

Finding out the layout of a specific window Hide the details

<Result> = WinCurrentLayout(<Window used>)
<Result>: Integer
  • Index of the current layout.
  • 0 if the internal window includes no layout.
<Window used>: Window name
Name of the window or internal window used.
Remarks
  • The layouts are numbered in their creation order in edit.
  • The layout changes if the device orientation changes or if WinChangeLayout is run.
Business / UI classification: UI Code
Component: wd280obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment