PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
WinCurrentLayout (Function)
In French: FenAgencementEnCours
Returns the subscript of the current layout:
  • in the current window.
  • Versions 22 and later
    in the specified window or internal window.
    New in version 22
    in the specified window or internal window.
    in the specified window or internal window.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
WINDEVWindows This function is now available for the WINDEV applications in Windows.
New in version 22
WINDEVWindows This function is now available for the WINDEV applications in Windows.
WINDEVWindows This function is now available for the WINDEV applications in Windows.
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
  • Subscript of current layout.
  • 0 if the window includes no layout.
Versions 22 and later

Finding out the layout of a specific window Hide the details

<Result> = WinCurrentLayout(<Window>)
<Result>: Integer
  • Subscript of current layout.
  • 0 if the internal window includes no layout.
<Window>: Character string (with or without quotes)
Name of the window or internal window used.
New in version 22

Finding out the layout of a specific window Hide the details

<Result> = WinCurrentLayout(<Window>)
<Result>: Integer
  • Subscript of current layout.
  • 0 if the internal window includes no layout.
<Window>: Character string (with or without quotes)
Name of the window or internal window used.

Finding out the layout of a specific window Hide the details

<Result> = WinCurrentLayout(<Window>)
<Result>: Integer
  • Subscript of current layout.
  • 0 if the internal window includes no layout.
<Window>: Character string (with or without quotes)
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.
Components
WINDEVReports and Queries wd230obj.dll
Android wd230android.jar
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment