QuestionDialog Method
The QuestionDialog method displays a dialog box with a question.
Syntax
QuestionDialog(file, question, buttons, [title])
Parameters
file
Required. File that is the subject of the question. This can be either a File object obtained from the FileSystemObject, a Sally panel Item, or a 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 |
See Also
From the Sally manual (GPL-2.0-or-later), © 1997-2023 Open Salamander Authors; © 2025-2026 Elias Bachaalany. Source: manual source (zip) · original page in the Sally repository