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.

ConstantDescription
4Display Yes, All, Skip, Skip All and Cancel buttons.
5Display Yes, No and Cancel buttons.
6Display Yes, All and Cancel buttons.

title

Optional. String displayed in the title bar of the dialog box.

Return Values

ValueDescription
2Cancel
6Yes
7No
16Skip
17Skip All
18All

See Also

Item Object

Salamander Object