PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Resulting display
  • Limitations
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
Displays a page in modal mode. This function is used to establish a dialog with the user. The page is displayed in the foreground while the opening page is displayed in the background, grayed by the DDW mechanism. See "Resulting display" for more details.
The code of the page is locked until the page is closed by PageCloseDialog. The page can return a value.
Example
// Displays a page allowing the user to exit from the site
IF PageDisplayDialog(PAGE_Exit) = True THEN
// Displays an end page
PageDisplay(PAGE_End)
// Closes the session
EndProgram()
END
// Displays a page to validate the information entered in the form
PageDisplayDialog(PAGE_Info, EDT_LastName, EDT_FirstName, EDT_Email_Address)
Syntax
<Result> = PageDisplayDialog(<Page Name> [, <Parameter 1> [, <Parameter 2> [, ...]]])
<Result>: Type corresponding to the retrieved value (optional)
Value retrieved when closing the page to open. This value is returned:
<Result> corresponds to False and an error is displayed if the user presses the "Back" button of the browser.
<Page Name>: Character string (with or without quotes)
Name of the page to open. This page must be a non-AWP dynamic page that is not using any AJAX code.
<Parameter 1>: Type of value sent to the window (optional)
First parameter that must be passed to the "Global Declarations" process of the page to open. This parameter is passed by address and it is considered as being a global variable of the page.
<Parameter 2>: Type of value sent to the window (optional)
Second parameter that must be passed to the "Global Declarations" process of the page to open. This parameter is passed by address and it is considered as being a global variable of the page.
Remarks

Resulting display

The display is as follows: the page displayed by PageDisplayDialog is displayed in the foreground.
Only the border and the content of the page are displayed: This page has no title bar, no taskbar, ... Regardless of its color, the page background is ignored.
The page that used PageDisplayDialog is found in the background. This page is grayed by DDW (Dim Disabled Pages). The DDW feature can be configured by PageActivateDDW and PageRateDDW.
Note: The opened page is not automatically centered: the display mode of the page must be defined in in its characteristics. We advise you to include a large part of the page in a cell with a background color in order to avoid the display effects caused by the DDW feature.

Limitations

  • The page displayed must be a non-AWP dynamic page.
  • PageDisplayDialog must be used in a non-AWP dynamic page.
  • Versions 20 and later
    If your project is using cached sessions, this function must not be used in the "Initializing the project" process. This function must be used in the "Initializing the project after connection to the site" process.
    New in version 20
    If your project is using cached sessions, this function must not be used in the "Initializing the project" process. This function must be used in the "Initializing the project after connection to the site" process.
    If your project is using cached sessions, this function must not be used in the "Initializing the project" process. This function must be used in the "Initializing the project after connection to the site" process.
Related Examples:
WW_Wizard Training (WEBDEV): WW_Wizard
[ + ] WEBDEV allows you to create your own Web wizards, via the WLanguage PageDisplayDialog function that is used to display a page in a modal way.

This allows you to establish a dialog with the user.
To go from a wizard plane to another one, all you have to do is use the concept of plane found in WEBDEV.
Components
WEBDEV - Server code wd230page.dll
Linux wd230page.so
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment