|
Summary
Configure terminal settings.
Syntax
Boolean ConfigureTerminal ()
Description
The current VT220 terminal settings (for example, inverse video) can be changed by calling the ConfigureTerminal method. This action will cause the ActiveX control to bring up a dialog box
that allows the user to select new settings. The dialog allows the user to set the type of emulation (VT220-8BIT, VT220-7BIT, VT100 and VT52) and configure the behavior of the terminal.
Note: The AutoPrint and PrintCtrl options can only be selected if there is a default printer.
The ConfigureTerminal method takes no parameters and returns a boolean. If the terminal can be successfully set, 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_CONFIGURE_TERMINAL. This method can only be called after the VT220 emulation window has been created and initialized.
Example
Result = VT220Client.ConfigureTerminal () If Result = False Then MsgBox "Unable to configure the terminal", 64, "Sample Program" End If
|