|
|
|
|
|
- Overview
- How to?
- The available WLanguage functions
- Managing a dialog via popups
- Managing a dialog via cells
- Managing a dialog via pages
- Managing a dialog via YesNo and OKCancel
Communicating with the Web user
With the new Web technologies, the sites can look more like Windows applications and they can display dialog boxes. In order for the Web user to easily identify the active page, the system for graying the pages is automatically used. The inactive page is grayed, so the active pages can be easily viewed by the Web user. For example:
The dialog with the Internet user can be managed: The available WLanguage functions WEBDEV proposes several functions allowing you to communicate with the Web user:
| | CellCloseDialog | Hides a Cell control previously displayed in the page via CellDisplayDialog. | CellDisplayDialog | Displays a Cell control in a page with a DDW effect (Dim Disabled Windows). This function is used to easily simulate a dialog box in browser code, by using a Cell control in a page. | OKCancel | Displays a message in a standard dialog box that proposes "OK" and "Cancel" and returns the user's choice. | PageCloseDialog | Closes the current page. This page was opened by PageDisplayDialog. A return value can be returned to the calling page. | PageDisplayDialog | 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. | PopupClose | Hides a popup displayed in the page via PopupDisplay. | PopupDisplay | Displays a popup in a page with a DDW effect (Dim Disabled Windows). | YesNo | Displays a message in a standard dialog box that proposes "Yes" and "No" and returns the user's choice. |
All these functions are used to communicate with the user and take into account the DDW parameters defined by the following functions: | | PageEnableDDW | Enables or disables the DDW (Dim Disabled Window) when displaying a modal page (the pages used to communicate with the user for example). | PageRateDDW | Defines and returns the rate of gray used by DDW. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|