io.dialog.message

Syntax

i = io.dialog.message(s1,s2,it)

Make a message dialog. One can control the caption, message, and buttons in the dialog. The return value is the button selected, starting with 0 (e.g., if it = 0 and the Retry button is selected, then i = 1).

Returns:

i - button selected

Arguments:

s1 - caption of the interactive dialog

s2 - message in the interactive dialog

it - integer indicating the buttons with the following options:

  • 0 = Abort, Retry, Ignore
  • 1 = OK
  • 2 = OK, Cancel
  • 3 = Retry, Cancel
  • 4 = Yes, No
  • 5 = Yes, No, Cancel