$ObjDestroy
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
$ObjDestroy
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
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)
Warning
COM objects are being discontinued by Microsoft and may not be available in future releases of Zim-X.
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5