Used to destroy an object. DESTROY is used by End_Window() and End_Dialog. If Utility ('DESTROY') is called, the window will be flagged for destruction rather then actually destroyed.

An OpenInsight application will close when the main application window closes. To close an OpenInsight application programmatically, use

retval = Utility("DESTROY", "SYSTEM")

Note: This is a Windows only function.


<object>The qualified name of the object to destroy.
ReturnvalueTrue if the object was found and destroyed, false otherwise.

See Also

  • No labels