613-518-1166 info@zimdatabases.com

ZIM Language Reference


< All Topics


Destroy an ActiveX object.


$ObjDestroy (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

Adding Component Objects to Zim Forms

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents