ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

  • Operating mode
  • Popup characteristics
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Displays a popup page during a given duration in order to display a "Toast" message.
Example
ToastDisplayPopup(POPUP_Toast)
Syntax
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:
toastLongThe Toast message will be displayed during a long period of time.
toastShort
(Default value)
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.
vaBottom
(Default value)
The Toast message is displayed at the bottom.
vaMiddleThe Toast message is displayed in the middle.
vaTopThe 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.
haCenter
(Default value)
The Toast message is displayed in the center.
haLeftThe Toast message is displayed on the left.
haRightThe Toast message is displayed on the right.
Remarks

Operating mode

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, ToastDisplayPopup, etc.).

Popup characteristics

  • 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.
Component: wd270page.dll
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment