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
  • Pre-launched sessions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
ContextClose (Function)
In french: ContexteFerme
Closes a page context. In some specific cases (User Groupware, etc.), you have the ability to specify the value to return.
Warning: It is not recommended to close the context of the current page.
Example
ContextClose(PAGE_Page4)
Syntax

Closing the page context Hide the details

ContextClose(<Page>)
<Page>: Page name
Name of the page whose context must be closed. If this parameter is an empty string (""), the name of the page corresponds to the page to which the current process belongs.

Closing the page context and returning information Hide the details

ContextClose(<Page> , <Return value>)
<Page>: Page name
Name of the page whose context must be closed. If this parameter is an empty string (""), the name of the page corresponds to the page to which the current process belongs.
<Return value>: Type of returned value
Value returned to the calling page. This parameter is reserved for the use of specific WEBDEV pages that are automatically opened (User Groupware pages, etc.). The value of this parameter is ignored if this parameter is used for a page that expects no return value.
Remarks

Pre-launched sessions

If your project uses pre-launched sessions, this function must not be used in the project initialization event. This function must be used in the "Initialization in pre-launched session mode" event.
Component: wd300dllexe.dll
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help