PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode
  • Characteristics of popup
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 popup page during a given duration in order to display a "Toast" message.
Example
ToastDisplayPopup(POPUP_Toast)
Syntax
ToastDisplayPopup(<Popup Name> [, <Display Duration> [, <Vertical Alignment> [, <Horizontal Alignment>]]])
<Popup Name>: Character string (with or without quotes)
Name of popup to display.
<Display Duration>: Optional integer
Constant indicating the display duration of Toast message:
toastShort
(Default value)
The Toast message will be displayed during a short period of time.
toastLongThe Toast message will be displayed during a long period of time.
Note: 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.
vaTopThe Toast message is displayed at the top.
vaMiddleThe Toast message is displayed in the middle.
<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.
haRightThe Toast message is displayed on the right.
haLeftThe Toast message is displayed on the left.
Remarks

Operating mode

The content of popup controls (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.
The function is compatible with ToastDisplay. The toasts displayed by ToastDisplay are displayed above the popups (displayed by PopupDisplay, ToastDisplayPopup, ...).

Characteristics of popup

  • The display position of 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 if it is resized.
  • The popup is displayed without DDW : the rest of the page (that is not covered by the popup) remains accessible.
Components
WEBDEV - Server code wd230page.dll
WEBDEV - Browser code WDJS.DLL
Linux wd230page.so
Minimum required version
  • Version 18
Comments
Click [Add] to post a comment