Contents
- Index
Dialog
The dialog function can display several types of dialog boxes to the user.
Format: {Dialog VariableNumber,DialogType,[Buttons],DialogText}
The variable number is the number of the variable that will be used to store the text of the button the user clicked to close the dialog.
The dialog type can be Warning, Error, or Confirmation and determines what icon is displayed in the dialog box.
The buttons can be Yes, No, OK, Cancel, Abort, Retry, Ignore, All, NoToAll, and YesToAll separated by commas.
The dialog text is the text that shows in the dialog box.

Example of a confirmation dialog: {Dialog 1,Confirmation,[Yes,No],Are you sure you want to continue?}
You can then use the If, Then, Else function to evaluate the user's response.
If the user clicks the Yes button, variable 1 will contain YES else it will contain NO.