next up previous contents index
Next: Custom dialogue boxes Up: Dialog boxes Previous: Dialog boxes

  
Simple dialogue boxes

Some predefined dialogue boxes are available to execute simple tasks such as reading a string or displaying a text. The type STRINGLIST used in the following is a string where the characters '|' and newline are used as separators to create a list of strings. For example, "Ok|Cancel" means the strings "Ok" and "Cancel".

  $\blacktriangleright$ Dialog:Util:ReadInteger(TITLE,MESG,LABEL,DEFAULT)
 
The dialog box created by this function asks the user for an integer value.

  $\blacktriangleright$ Dialog:Util:ReadText(TITLE,MESG,LABEL,DEFAULT )
 
The dialog box created by this function asks the user for a short text (one line).

  $\blacktriangleright$ Dialog:Util:ReadTextWithChoices(TITLE,MESG,LABEL,DEFAULT,CHOICES)
 
The dialog box created by this function asks the user for a short text (one line). A list of predefined texts is proposed to the user.

  $\blacktriangleright$ Dialog:Util:AskUser(TITLE,MESG,BUTTONS,TYPE)
 
The dialog box created by this function displays a message and waits to press an exit button.

  $\blacktriangleright$ Dialog:Util:InfoMessage(MESG)
 
The dialog box created by this statement displays a message. No result is returned

  $\blacktriangleright$ Dialog:Util:ErrorMessage(MESG)
 
The dialog box created by this statement displays an error message. No result is returned.


next up previous contents index
Next: Custom dialogue boxes Up: Dialog boxes Previous: Dialog boxes
Yann Mevel
1999-04-30