ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Page functions
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
Hides a page displayed as a popup via PopupDisplayPage.
Example
// Closes the page displayed as a popup
PopupClosePage(PAGE_ProductDetails)
Syntax
PopupClosePage([<Page> [, <Returned value>]])
<Page>: Optional page name
Name of the page displayed as a popup that will be hidden. This page must have been displayed by PopupDisplayPage. Otherwise, PopupClosePage has no effect.
If PopupClosePage is used in the code of the main page, this parameter must be specified: the name of the popup page to be closed must be specified.
If PopupClosePage is used in the code of the current page (displayed as a popup), this parameter is not necessary: the current page is closed.
<Returned value>: Type corresponding to the returned value (optional)
WEBDEV - Browser code Value returned by the page when it is closed. This value is retrieved only if the page was opened by PopupDisplayPage.
You have the ability to return:
  • simple types: string, etc.
  • advanced types: structure, etc.
Remarks
Browsers do not refresh pages in the middle of JavaScript code: PopupDisplayPage and PopupClosePage must be used in different processes/events. If these functions are used in the same process/event, the Popup page is not displayed.
Component: wd290page.dll
Minimum version required
  • Version 26
Comments
Click [Add] to post a comment

Last update: 06/26/2023

Send a report | Local help