PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Returns the name of the page containing the WLanguage code currently run.
Example
Str is string
Str = CurrentPage()
Syntax
<Result> = CurrentPage()
<Result>: Character string
Name of the current page in uppercaseIf the WLanguage code being executed is:
  • an event associated with the page:
    • WEBDEV - Server code "Global declarations" event,
    • WEBDEV - Server code "Initializing" event of the page,
    • WEBDEV - Browser code "Load" event of the page,
    • WEBDEV - Server codeWEBDEV - Browser code "Closing" or "Unload" event of the page,
    • WEBDEV - Server code "Synchronization" event.
  • an event associated with a control (initializing, click).
  • a procedure local to the page.
Empty string ("")If the code being executed is:
  • WEBDEV - Server code an event associated with the project
  • WEBDEV - Server code a class constructor or destructor code
  • WEBDEV - Server code a class method
  • WEBDEV - Server codeWEBDEV - Browser code a procedure global to the project.
Linux The case of the page name corresponds to the real case of the page name. For example, if the current page corresponds to the "Home.WWH" page, the name returned will be "Home".
Component : wd240page.dll
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment