AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones específicas de la Web / Funciones del navegador
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Displays a message outside the 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 shown even if the browser is minimized.
Ejemplo
// Affiche un message hors navigateur
NotificationDisplay("Messagerie", "Vous avez reçu un nouveau mail", ...
		 "Message.gif")
Sintaxis
NotificationDisplay(<Title> , <Message> [, <Image>])
<Title>: Character string
Title of the message displayed. If this parameter corresponds to an empty string (""), the title will not be displayed.
<Message>: Character string
Message to display in the notification.
<Image>: Optional character string
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".
Observaciones
  • Notifications must be enabled on Windows on the user's computer. Otherwise, the notification will not be displayed.
  • The notifications are not supported by some browsers. If the browser does not support notifications, the notification will not be displayed.
  • If notifications are not allowed, an authorization request will be displayed in the browser.
    Warning: If the NotificationDisplay function is called from a button running server code, the browser's notification authorization request will be cleared when the page is refreshed, making it impossible for the user to authorize notifications.
Componente: WDJS.DLL
Versión mínima requerida
  • Versión 19
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local