$ObjDestroy

$ObjDestroy

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

$ObjDestroy

Destroy an ActiveX object.

Syntax

$ObjDestroy (Object)

Parameters

Objecta 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.

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
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese