Displays a popup page during a given duration in order to display a "Toast" message.
ToastDisplayPopup(<Popup> [, <Display duration> [, <Vertical alignment> [, <Horizontal alignment>]]])
<Popup>: Control name
Name of the Popup control to be displayed.
<Display duration>: Optional integer
Constant indicating the display duration of Toast message:
|toastLong||The Toast message will be displayed during a long period of time.|
|The Toast message will be displayed during a short period of time.|
Remark: The exact display duration depends on the device used.
<Vertical alignment>: Optional integer
Constant indicating the vertical alignment of message. This alignment is relative to the page.
|The Toast message is displayed at the bottom.|
|vaMiddle||The Toast message is displayed in the middle.|
|vaTop||The Toast message is displayed at the top.|
<Horizontal alignment>: Optional integer
Constant indicating the horizontal alignment of message. This alignment is relative to the page.
|The Toast message is displayed in the center.|
|haLeft||The Toast message is displayed on the left.|
|haRight||The Toast message is displayed on the right.|
The content of the controls in the popup window (text, background color, etc.) must be initialized before the call to ToastDisplayPopup.
ToastDisplayPopup can be used for a single toast at a time. A second call to ToastDisplayPopup will hide the previous toast.
This function is compatible with ToastDisplay
. Toasts displayed with ToastDisplay
appear above the popups (regardless of the fact they are displayed by PopupDisplay
- The display position of the popup is relative to the display area of the page.
- The popup is fixed in the page : the popup remains at the same position even if the page scrolls or is resized.
- The popup is displayed without the DDW (Dim Disabled Windows) feature : the rest of the page (that is not covered by the popup) remains accessible.