Name
ShowToast -- show a short message (V5.3)
Synopsis
ShowToast(s$[, x, y, long])
Platforms
Mobile platforms only

Function
This function can be used to show a short message (a so-called "toast") that disappears automatically after a certain period of time. You have to pass the message to display in the string argument s$. The optional arguments allow you to specify the desired position of the message on the screen and whether the presentation time should be long or short. You can also use Hollywood's special coordinate constants in the x and y arguments.

Inputs
s$
message to show
x
optional: x position for the message
y
optional: y position for the message
long
optional: whether or not the presentation duration should be long or short (defaults to False which means a short presentation duration)
Example
ShowToast("Hello World!", #CENTER, #CENTER)
The code above shows the message "Hello World!" in the center of the screen and hides it automatically after a short period of time.

Show TOC