|
Summary
Initialize the VT emulation window.
Syntax
Boolean Initialize (ConfigurationName)
Description
The VT220 emulation must be initialized before any other action is performed (with the exception of listing, modifying, deleting and saving configurations as described in the reference page
of the VtAction property or the corresponding methods). To initialize the VT220 emulation, call the Initialize method. This will create an emulation window inside the VT220 ActiveX control.
The Initialize method takes a configuration name specified by the ConfigurationName parameter and returns a boolean. The configuration name must be the name of a valid configuration. If the
emulation window can be successfully created and initialized, 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_INITIALIZE. If the Initialize method or ACTION_INITIALIZE is called and successfully executed within an application, then
the Destroy method or ACTION_DESTROY must be called before the application quits.
Example
Result = VT220Client.Initialize ("default") If Result = False Then MsgBox "Cannot initialize emulation window", 64, "Sample Program" End If
|