ErrorDialog Method
The ErrorDialog method displays a dialog box with an error message.
Syntax
ErrorDialog(file, error, buttons, [title])
Parameters
file
Required. File that caused the error. This can be either a File object obtained from the FileSystemObject, a Sally panel Item, or a string specifying the file path.
error
Required. String containing the error description, or a number specifying one of the predefined system error codes.
buttons
Required. Number specifying the type of buttons to display.
| Constant | Description |
| 0 | Display OK button only. |
| 1 | Display Retry and Cancel buttons. |
| 2 | Display Skip, Skip All and Cancel buttons. |
| 3 | Display Retry, Skip, Skip All and Cancel buttons. |
title
Optional. String displayed in the title bar of the dialog box.
Return Values
| Value | Description |
| 1 | OK |
| 2 | Cancel |
| 4 | Retry |
| 16 | Skip |
| 17 | Skip 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