|
|
|
|
|
- Managing threads
- Successive calls
ToastDisplay (Function) In french: ToastAffiche 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. A toast does not take focus, is not modal and does not interrupt application execution. The display of toasts is recommended for conveying information to the user without blocking execution of the application (e.g. displaying a message to indicate the end of a download).
New in version 2025ToastDisplay("This is a Toast message.")
ToastDisplay("This is a Toast message.", toastLong, vaMiddle, haCenter, LightGreen)
Syntax
Defining and displaying a toast Hide the details
ToastDisplay(<Message> [, <Display duration> [, <Vertical alignment> [, <Horizontal alignment> [, <Background color>]]]])
Remarks Managing threads ToastDisplay can be called from a WLanguage thread (to notify the user of events that occurred during the thread execution for example). Successive calls If ToastDisplay 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 restores the behaviour of version 24: the toasts are superimposed one on top of the other.
Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|