PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV 25 feature!
  • Management of threads
  • Successive calls
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 "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 message does not take focus, it is not modal and it does not interrupt the execution of application.
Toasts are recommended to show information to the user without locking the execution of application (example: displaying a message to indicate the end of download).
Toast message in Android
Versions 17 and later
WINDEVWindows This function is now available for the WINDEV applications in Windows.
New in version 17
WINDEVWindows This function is now available for the WINDEV applications in Windows.
WINDEVWindows This function is now available for the WINDEV applications in Windows.
Versions 18 and later
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
New in version 18
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
WINDEV
MyToast is Toast
MyToast..Title = "Did you know?"
MyToast..Text = "AAFs are really cool."
MyToast..Button[1].Title = "Learn more..."
MyToast..Button[1].ActionClick = FoncHelp
MyToast.Display()
INTERNAL PROCEDURE FoncHelp
Open ("WIN_Help")
END
Syntax

Displaying a toast based on a Toast variable Hide the details

ToastDisplay(<Toast>)
<Toast>: Toast variable
Name of the Toast variable describing the toast to display.
Remark: The Toast variable allows you to define additional parameters.
Remarks

Management of 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, toasts overlap each other. If <Toast>.Display is called several times, each toast is displayed once the previous toast has disappeared. This behavior can be modified by using the ..Overlayable property of the Toast variable. This property allows you to get the same behavior as in version 24: toasts overlap each other.
Business / GUI classification : GUI Code
Component : wd250obj.dll
Minimum version required
  • Version 25
Comments
Click [Add] to post a comment