Click or drag to resize

FormResult Enumeration

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 nameValueDescription
None0 The form was closed with the X button on the window frame, or the form is shown non-modally.
OK1 The form was closed by clicking the OK button.
Cancel2 The form was closed by clicking the Cancel button.
Close3 The form was closed by clicking the Close button.
Done4 The form was closed by clicking the Done button.
RuleButtonClose5 The form was closed by clicking a rule button that has its "On Click Action" set to "Close and run rule".
RuleButtonApplyAndClose6 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