|
Summary
Destroy the VT emulation window.
Syntax
Boolean Destroy ()
Description
Before quitting, the application must destroy the emulation window it created with ACTION_INITIALIZE or Initialize by calling the Destroy method. This will destroy the emulation window and
the application can no longer perform any VT220 ActiveX control operations except for ACTION_INITIALIZE or Initialize and listing, modifying, deleting and saving configurations (see VtAction or the
corresponding methods).
The Destroy method takes no parameters and returns a boolean. If VT220 emulation window can be successfully destroyed, then the method returns True; otherwise, it returns False. The application
should ensure that the method was successfully executed by checking the return value.
Calling this method is equivalent to setting the Action property to ACTION_DESTROY. This method can only be called after the VT220 emulation window has been created and initialized.
Example
Result = VT220Client.Destroy () If Result = False Then MsgBox "Unable to destroy emulation window", 64, "Sample Program" End If
|