Description

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.

Parameters

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

See Also

Name
BEEP Service
CHOOSECOLOR Service
CHOOSEDIR Service
CHOOSEFILE Service
CHOOSEFONT Service
COPYFILE Service
CREATE Service
CURSOR Service
FLUSH Service
GET_EVENT Service
GETLOGICALDRIVES Service
MAKEDIR Service
OBJECTID Service
OBJECTLIST Service
PRINTSETUP Service
REMOVEDIR Service
RENAMEDIR Service
RENAMEFILE Service
RUNHELP Service
RUNWIN Service
TEXTRECT Service
WINCOUNT Service
HANDLE_BY_CURSOR Service
IUNKNOWN_RELEASE Service
LOAD_PICTURE Service
OBJECT_BY_CURSOR Service
PICTURE_PROPS Service