Utility functions / Common dialog utility functions (IMPORT FGL fgldialog) |
Displays an interactive message box containing text and OK button.
fgl_winmessage( title STRING, text STRING, icon STRING )
The fgl_winmessage() function displays a message box to the end user.
Supported names for the icon parameter are: information, exclamation, question, stop. Note that on some front-ends such as iOS devices, the native message popup window does not display an image.
On front-ends using a system dialog box API, the OK buttons will be automatically localized according to the operating system language settings. On other front-ends, the option buttons will be decorated according to action default settings.
IMPORT FGL fgldialog MAIN CALL fgl_winmessage( "Title", "This is a critical message.", "stop") END MAIN