PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE

  • ContextOpen, PageDisplay and PageRefresh
  • Passing parameters to ContextOpen
  • Pre-launched sessions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
ContextOpen (Function)
 
Opens a new page context without returning the information to the browser. This function is used to pass parameters to one of the frameset pages.
If a context with the same name is already opened, this one is automatically destroyed (the closing code of the page is run) and opened.
Versiones 24 y posteriores
Ajax This function is now available in Ajax mode.
Nueva funcionalidad versión 24
Ajax This function is now available in Ajax mode.
Ajax This function is now available in Ajax mode.
Ejemplo
// Open the context of PAGE_Page4
ContextOpen(PAGE_Page4)
Sintaxis
ContextOpen(<Page name> [, <Parameter 1> [, ... [, <Parameter N>]]])
<Page name>: Character string (with or without quotes)
Name of the page whose context must be opened. If this parameter is equal to an empty string (""), the name of the page corresponds to the page to which the current process belongs.
<Parameter 1>: Type of value sent to the page (optional)
Parameters expected by the opening process of the page to display. These parameters are passed by address and they are considered as being variables global to the page.
<Parameter N>: Type of value sent to the page (optional)
Parameters expected by the opening process of the page to display. These parameters are passed by address and they are considered as being variables global to the page.
Observaciones

ContextOpen, PageDisplay and PageRefresh

ContextOpen has the same effect as PageDisplay but it does not send the page back to the browser. To send the page back to the browser, use PageRefresh.

Passing parameters to ContextOpen

When opening a frameset whose one or more pages expect parameters, you must (before displaying the frameset) open the context of the frameset pages by specifying the parameters expected by these pages.
Versiones 20 y posteriores

Pre-launched sessions

If your project is using pre-launched sessions, this function must not be used in the process "Initializing the project". This function must be used in the "Initializing the project after connection to the site" process.
Nueva funcionalidad versión 20

Pre-launched sessions

If your project is using pre-launched sessions, this function must not be used in the process "Initializing the project". This function must be used in the "Initializing the project after connection to the site" process.

Pre-launched sessions

If your project is using pre-launched sessions, this function must not be used in the process "Initializing the project". This function must be used in the "Initializing the project after connection to the site" process.
Componente : wd250dllexe.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario