PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
NotificationDisplay (Function)
In French: NotificationAffiche
Displays a message outside browser.
A browser can display information outside its window. For example, a browser in Windows can display a notification for incoming emails at the bottom right of the desktop. The information will be viewed even if the browser is minimized.
Example
// Displays a message outside browser
NotificationDisplay("Messaging""New incoming email", ...
 "Message.gif")
Syntax
NotificationDisplay(<Title> , <Message> [, <Image>])
<Title>: Character string (with quotes)
Title of the message displayed. If this parameter corresponds to an empty string (""), the title will not be displayed.
<Message>: Character string (with quotes)
Message to display in the notification.
<Image>: Optional character string (with quotes)
Image of the message displayed.
In a dynamic page, if the image is found in the "_WEB" directory of the project, you must specify the virtual path of this directory, by using FolderWeb for example. For example: FolderWeb() + "MyImage.gif".
Remarks
  • The notifications are not supported by some browsers. The notification will not be displayed if the browser does not support the notifications.
  • If the notifications are not allowed, an authorization request will be displayed in the browser.
    Caution: If the call to NotificationDisplay is performed in a button that runs server code, the authorization request will be erased by the page refresh: therefore, the user will not be able to allow the notifications.
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 19
Comments
Click [Add] to post a comment