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
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:
  • a page code:
    • WEBDEV - Server code declaration code of the global variables,
    • WEBDEV - Server code page end of initialization code,
    • WEBDEV - Browser code opening code of the page,
    • WEBDEV - Server codeWEBDEV - Browser code closing code,
    • WEBDEV - Server code synchronization code.
  • a control code (initialization, click)
  • a procedure local to the page
Empty string ("")If the code being executed is:
  • WEBDEV - Server code the project code
  • 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".
Components
WEBDEV - Server code wd230page.dll
Linux wd230page.so
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment