A return value of a form: usually indicates which button caused the form to be closed.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax Public Enumeration FormResult
Members
| Member name | Value | Description |
---|
| None | 0 |
The form was closed with the X button on the window frame, or the form is shown non-modally.
|
| OK | 1 |
The form was closed by clicking the OK button.
|
| Cancel | 2 |
The form was closed by clicking the Cancel button.
|
| Close | 3 |
The form was closed by clicking the Close button.
|
| Done | 4 |
The form was closed by clicking the Done button.
|
| RuleButtonClose | 5 |
The form was closed by clicking a rule button that has its "On Click Action" set to "Close and run rule".
|
| RuleButtonApplyAndClose | 6 |
The form was closed by clicking a rule button that has its "On Click Action" set to "Apply and then close and then run rule".
|
Remarks
This is similar to System.Windows.Forms.DialogResult.
See FormReturnValue for the full return value.
See Also