$ObjDestroy
$ObjDestroy
Destroy an ActiveX object.
Syntax
$ObjDestroy (Object)
Parameters
Object | a component object variable or formfield of type OLE |
Return Value
Returns a boolean; TRUE if the object was destroyed.
In Zim 7.1, setting an object to $Null will also destroy it. This is the preferred method of releasing an object. For example:
Let MyObj = $Null
Instead of
$ ObjDestroy(MyObj)
See Also