fgldialog: Common dialog functions

Table 1. Common dialog functions (fgldialog.4gl)
Function Description
fgl_winbutton(
   title STRING,
   text STRING,
   default STRING,
   buttons STRING,
   icon STRING,
   danger SMALLINT )
  RETURNS STRING
Displays an interactive message box containing multiple choices, in a pop-up window.
fgl_winmessage(
   title STRING,
   text STRING,
   icon STRING )
Displays an interactive message box containing text and OK button.
fgl_winprompt(
   x INTEGER,
   y INTEGER,
   text STRING,
   default STRING,
   length INTEGER,
   type INTEGER )
  RETURNS STRING
Displays a dialog box containing a field that accepts a value.
fgl_winquestion(
   title STRING,
   text STRING,
   default STRING,
   buttons STRING,
   icon STRING,
   danger SMALLINT )
  RETURNS STRING
Displays an interactive message box with configurable Ok / Yes / No / Cancel / Ignore / Abort / Retry buttons.
fgl_winwait(
   text STRING )
Displays an interactive message box and waits for user validation.