QuestionDialog Method
The QuestionDialog method displays dialog box with a question.
Syntax
QuestionDialog(file, question, buttons, [title])
Parameters
file
Required. File that is subject of the question. This can be either the File object obtained from the FileSystemObject or the Salamander panel Item or string specifying the file path.
question
Required. String specifying the question.
buttons
Required. Number specifying the type of buttons to display.
Constant | Description |
4 | Display Yes, All, Skip, Skip All and Cancel buttons. |
5 | Display Yes, No and Cancel buttons. |
6 | Display Yes, All and Cancel buttons. |
title
Optional. String displayed in the title bar of the dialog box.
Return Values
Value | Description |
2 | Cancel |
6 | Yes |
7 | No |
16 | Skip |
17 | Skip All |
18 | All |