|
|
|
|
|
|
|
|
|
|
- Managing threads
- Successive calls
<Toast>.Display (Function) In french: <Toast>.Affiche Displays a "Toast" message. Toasts are a short messages that appear on the screen for a few seconds before fading out without any user intervention. Toasts are modeless, don't take focus and don't interrupt the execution of the application. Toasts are recommended to show information to the user without blocking the execution of the application (e.g. short message to indicate that a download has been completed).
New in version 2025Syntax <Toast>: Toast variable Name of the Toast variable that defines the toast to be displayed. Remarks Managing threads <Toast>.Display can be called from a WLanguage thread (to notify the user of events that occurred during the thread execution for example). Successive calls If <Toast>.Display is called several times, each toast is displayed once the previous toast has disappeared. This behavior can be changed using the Overlayable property of the Toast variable. This property allows you to get the same behavior as in version 24, in which toasts could be displayed one over another.
Related Examples:
|
Training (WINDEV): WD Toasts
[ + ] This example shows how to use the ToastDisplay and ToastDisplayIW functions as well as Toast variables. A Toast is a temporary message used to inform the user without interrupting the application.
|
Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|