ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Web-specific functions / Page functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 the PopupClosePage function is used in the main page code, this parameter is mandatory: the name of the popup page to be closed must be specified..
If the PopupClosePage function is used in the code of the current page (displayed as a popup), this parameter is not mandatory: 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 the display in the middle of Javascript code: functions 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: wd300page.dll
Minimum version required
  • Version 26
Comments
Click [Add] to post a comment

Last update: 10/04/2024

Send a report | Local help