Share

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: 30.0

Syntax

VB

Public Enumeration FormResult

C#

public enum 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".
NotShown7 The form was not shown. This will be returned if the code is running on Inventor Server.

Remarks

This is similar to System.Windows.Forms.DialogResult. See FormReturnValue for the full return value.

See Also

Reference

Was this information helpful?