ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
  • Window currently run
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
Identifies the window containing the WLanguage code currently run.
Example
// Name of the window whose code is currently run
ResWinCurrentlyRun = WinInput()
Syntax
<Result> = WinInput()
<Result>: Character string
  • Name (or alias) of the window if the code currently run is:
    • a window code,
    • a control code,
    • a procedure local to the window.
  • Empty string ("") if the code currently run is:
    • a code associated with the project,
    • a global procedure,
    • an initialization code or an ending code of a class,
    • an object method.
Remarks

Window currently run

  • WinInput returns an invariant value regardless of how the code containing this function is called.
  • WinInput does not depend on the opening mode of the window or on the type of the window (modal, non-modal, MDI parent or MDI child).
Component: wd290obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help