DialogResult Property
Specifies the value returned by the Form.Execute method.
Values
| Value | Description |
| 1 | OK |
| 2 | Cancel |
| 3 | Abort |
| 4 | Retry |
| 5 | Ignore |
| 6 | Yes |
| 7 | No |
| 10 | Try Again |
| 11 | Continue |
Remarks
If the DialogResult property is set to any value other than 0, clicking the button closes the parent form. The return value from the Form.Execute method is the DialogResult of the button that was clicked. For example, to create an OK/Cancel dialog box, add two buttons and set their DialogResult properties to 1 and 2.
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