ErrorDialog Method
The ErrorDialog method displays dialog box with an error message.
Syntax
ErrorDialog(file, error, buttons, [title])
Parameters
file
Required. File that caused the error. This can be either the File object obtained from the FileSystemObject or the Salamander panel Item or string specifying the file path.
error
Required. String containing the error description or 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 |