|
Summary
Delete a configuration.
Syntax
Boolean DeleteConfig (ConfigurationName)
Description
Some of the actions and methods can be invoked before the VT220 terminal emulation window is initialized. To delete a configuration, call the DeleteConfig method and passing it a valid
configuration name.
The DeleteConfig method takes a configuration name specified by the ConfigurationName parameter and returns a boolean. The configuration name must be set to a valid configuration. If the
configuration can be successfully deleted, 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 VtAction property to VT_DELETE_CONFIGURATION.
Example
Result = VT220Client.DeleteConfig ("abc") If Result = False Then MsgBox "Cannot delete configuration", 64, "Sample Program" End If
|