FGL_WINMESSAGE()

Displays an interactive message box containing text, in a separate window.

Syntax

FGL_WINMESSAGE(
   title STRING,
   text STRING,
   icon STRING )
  1. title defines message box title.
  2. text is the text displayed in the message box. Use '\n' to separate lines.
  3. icon is the name of the icon to be displayed.

Usage

The FGL_WINMESSAGE() function displays a message box to the end user.

Important: On desktop front-ends, this built-in function creates a popup window with the system dialog box API creating a modal window. Since the front-end is a single graphical application displaying windows from different programs, the end user will have to close the modal window first, before continuing within the window of another program. If you don't want to block other programs, use a menu with "popup" style instead.

Supported names for the icon parameter are: "information", "exclamation", "question", "stop".

You can also use a form or a menu with "popup" style instead.

icon is ignored by the ASCII client.

MAIN
  CALL FGL_WINMESSAGE( "Title", "This is a critical message.", "stop")
END MAIN