Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Terminal Object
Properties Methods Events

In This Topic
    Terminal Object Members
    In This Topic

    The following tables list the members exposed by Terminal.

    Public Properties
     NameDescription
    Public PropertyGets or sets whether Reflection responds to host commands that are related to color table changes.  
    Public PropertyGets or sets whether JIS escape sequences are allowed when other host character sets are selected.  
    Public PropertyGets or sets a string that is sent to the host when Reflection receives an Enq character from the host.  
    Public PropertyGets or sets whether the answerback message (set with the AnswerBack property) is automatically sent to the host after a communications line connection.  
    Public PropertyGets or sets a value that specifes whether to attempt a host connection as soon as the current settings file is loaded.  
    Public PropertyGets or sets a sequence of action(s), such as running a macro, to run automatically before a connection is established.  
    Public PropertyGets or sets whether a bell sounds when the ASCII bell character (decimal 7) is transmitted from the keyboard or received from the host.  
    Public PropertyGets or sets a block terminator character to be transmitted at the end of each block data transmission.  
    Public PropertyGets or sets whether Reflection caches the user name entered for a Secure Shell session.  
    Public PropertyGets or sets the character set translation state.  
    Public PropertyGets the IP address for a connection to a Citrix host.  
    Public PropertyGets the PC name returned by a Citrix host.  
    Public PropertyGets the Username value for a Citrix connection type.  
    Public PropertyGets or sets how Reflection handles the display memory when you disconnect from the host.  
    Public PropertyGets the current DOS code page.  
    Public PropertyGets or sets a sequence of action(s), such as running a macro, to run automatically after a connection is established.  
    Public PropertyGets the _ConnectingSettingsBestNetwork object.  
    Public PropertyGets the error number that describes the specific cause of the most recent general connection failure (if the last returned error has the value ErrConnectionError).  
    Public PropertyGets the text string that describes the specific cause of the most recent general connection failure (if the last returned error has the value ErrConnectionError).  
    Public PropertyGets the Long value that uniquely identifies the current connection.  
    Public PropertyGets the _ConnectionSettingsComSerialPort object.  
    Public PropertyGets the _ConnectionSettingsModem object.  
    Public PropertyGets the _ConnectionSettingsRLogin object.  
    Public PropertyGets the _ConnectionSettingsSecureShell object.  
    Public PropertyGets the _ConnectionSettingsTelnet object.  
    Public PropertyGets the _ConnectionSettingsVTMgr object.  
    Public PropertyGets or sets whether the Reflection status bar displays the amount of time you are connected to a host.  
    Public PropertyGets or sets the connection type.  
    Public PropertyGets the ContextMenus object.  
    Public PropertyRetrieves or assigns the application ID to use for DASO (Digital Certificate Access Server Automated Sign On) support.  
    Public PropertyRetrieves the pass ticket for DASO (Digital Certificate Access Server Automated Sign On). This field will be empty until a successful call to GetDASOPassTicket is executed.  
    Public PropertyRetrieves the session name that is used for DASO (Digital Certificate Access Server Automated Sign On). The session name and DASO application ID are used by the DASO server when mapping the current user to RACF logon credentials for host access.  
    Public PropertyRetrieves the RACF USERID for DASO (Digital Certificate Access Server Automated Sign On). This field will be empty until a successful call to GetDASOPassTicket is executed.  
    Public PropertyGets or sets whether Reflection translates characters from the host to the PC, and vice versa, using the current translation table.  
    Public PropertyGets or sets whether Reflection uses default settings appropriate to a UNIX or OpenVMS host.  
    Public PropertyGets or sets the default printer for printer output.  
    Public PropertyGets or sets how Reflection responds to a primary device attribute request from the host (usually when logging on).  
    Public PropertyGets or sets whether Elf Autochem terminal emulation is enabled.  
    Public PropertyGets or sets whether Reflection uses a form of handshaking called Enquire Acknowledge.  
    Public PropertyGets or sets how Reflection responds if the ENTER key is pressed when not connected to a host.  
    Public PropertyGets the FileTransfer object.  
    Public PropertyGets or sets whether Reflection interprets characters from certain host character sets as control codes.  
    Public PropertyGets or sets the destination of graphics when you print using the ReGIS hard copy command.  
    Public PropertyGets or sets whether the onscreen graphic is periodically updated from the offscreen graphic.  
    Public PropertyUse this property to match Reflection to the capabilities of a digital printer with regard to aspect ratio, horizontal grid size, background printing, and color printing.  
    Public PropertyGets or sets whether the graphics output cursor is displayed.  
    Public PropertyGets or sets how graphics print.  
    Public PropertyGets or sets whether sixel images are scrolled.  
    Public PropertyGets or sets which terminal is emulated, and how many shades or colors are available in ReGIS.  
    Public PropertyGets or sets whether the column in which the cursor is located remains in the terminal window regardless of how the terminal window is resized, or which screen font size is used.  
    Public PropertyGets or sets whether the horizontal scroll bar is visible.  
    Public PropertyGets or sets the host character set Reflection uses when transmitting and receiving characters.  
    Public PropertyGets or sets the name and location of the host description file that is used by the GetHostElement method.  
    Public PropertyGets or sets the file path for the file that is used to populate the Host name/IP Address Drop-down list on the Create New VT Document dialog box.  
    Public PropertyGets or sets the current host status line display.  
    Public PropertyGets or sets the host trigger character value.  
    Public PropertyGets the value that indicates whether Reflection is connected.  
    Public PropertyGets whether the data carrier signal is high.  
    Public PropertyGets a "graphics supported" flag.  
    Public PropertyGets or sets whether WinMASS software support is enabled.  
    Public PropertyGets the KeyboardMapper object.  
    Public PropertyGets or sets whether the local computer should "echo" typed characters directly to the screen.  
    Public PropertyGets or sets whether data logged by the terminal is sent to the currently configured serial device.  
    Public PropertyGets the Macro object.  
    Public PropertyGets or sets whether macrograph reporting is enabled.  
    Public PropertyGets or sets how Reflection responds to a NUM LOCK key press on the PC after the key has been mapped to emulate the action of a terminal key.  
    Public PropertyGets the MouseMapper object.  
    Public PropertyGets or sets the appearance of the mouse pointer in the terminal window.  
    Public PropertyGets or sets the set of character translations that occur between the local computer and the host in 7-bit mode.  
    Public PropertyGets or sets whether the translations specified by the NationalReplacementSet property should be performed.  
    Public PropertyGets or sets whether Reflection is in remote mode or local mode.  
    Public PropertyGets or sets Digital terminals reset national replacement mode when a soft reset occurs.  
    Public PropertyGets or sets whether Reflection processes incoming characters between calls to Reflection methods.  
    Public PropertyGets or sets how Reflection handles invalid keystrokes.  
    Public PropertyGets the Productivity object.  
    Public PropertyGets or sets a value indicating whether QuickPad controls display tooltips.  
    Public PropertyGets or sets ReGIS Graphics mode.  
    Public PropertyGets or sets the size of the buffer reserved for caching ReGIS graphics.  
    Public PropertyGets or sets how ReGIS graphics images are handled.  
    Public PropertyGets or sets a value indicating whether the ConnectAction sequence is re-run after a session is reconnected.  
    Public PropertyGets or sets a save state for the scrolling region.  
    Public PropertyGets or sets whether Reflection saves the user name when you save your settings files or record a connection macro.  
    Public PropertyGets or sets the close option, which indicates how to handle the save action when closing the control.  
    Public PropertyGets the Screen object.  
    Public PropertyGets or sets whether a SHIFT, CTRL, or ALT key press sends an escape sequence and, if the key is pressed in conjunction with other keys, prefixes the escape sequence to outbound data, in VT-UTF8 emulations.  
    Public PropertyGets or sets the serial port on the PC that is used as the terminal serial device port.  
    Public PropertyGets or sets the configuration parameters for the currently configured serial printer port.  
    Public PropertyGets or sets whether data received from the currently configured serial device port is sent to the host.  
    Public Property

    Gets the session file path.

     
    Public PropertyGets or sets the maximum allowable number of simultaneous VT-MGR sessions.  
    Public PropertyGets or sets the maximum allowable number of simultaneous Rlogin sessions.  
    Public PropertyGets or sets the maximum allowable number of simultaneous SecureShell sessions.  
    Public PropertyGets or sets the maximum allowable number of simultaneous Telnet sessions.  
    Public PropertyGets or sets the visibility of the status bar. This setting is only relevant when the workspace user interface mode is set to Classic. (This setting does not apply to Classic MDI mode.) The default is true.  
    Public PropertyGets or sets the visibility of the menu and toolbar. This setting is only relevant when the workspace user interface mode is set to Classic. (This setting does not apply to Classic MDI mode.) The default is true.  
    Public PropertyGets or sets which Digital UPS character set is used when SET HOST-CHARACTER-SET is set to a double-byte character set.  
    Public PropertyGets or sets the saved connection that is used when the StartupAction property is set to UseSavedConnection.  
    Public PropertyGets or sets the text displayed on the status bar.  
    Public PropertyGets or sets the current status line text.  
    Public PropertyGets or sets the Telephony Application Programming Interface (TAPI) that Reflection uses to connect the PC to telephone services.  
    Public PropertyGets or sets how beeps sound.  
    Public PropertyGets or sets the terminal that Reflection is to emulate.  
    Public PropertyGets or sets whether Reflection uses the ASCII or ANSI character set.  
    Public PropertyGets the Theme object.  
    Public PropertyGets the time (in seconds) during which you have been connected.  
    Public PropertyGets or sets the string that appears in the title bar. This string is only relevant when the workspace user interface mode is set to Classic SDI. The caption length maximum value is 260 characters. The default is &f - &n.  
    Public PropertyGets or sets the name of the trace file that is created when Trace Session Start is true.  
    Public PropertyGets or sets the location of the folder where Reflection saves trace files created when Trace Session Start is true.  
    Public PropertyGets or sets the Reflection Trace utility to begin tracing the moment Reflection starts.  
    Public PropertyGets the object used to map actions to the user interface control and to retrieve the action sequence from the user interface control.  
    Public PropertyGets or sets how Reflection communicates with a host using the IPv6 and older IPv4 protocols.  
    Public PropertyGets or sets the modem dialer that is used to make modem connections.  
    Public PropertyGets or sets data for the duration of the current Reflection session.  
    Public PropertyGets or sets whether the host can alter the definitions of the user-defined keys.  
    Public PropertyGets or sets whether certain features can be changed by the host.  
    Public PropertyVB common project from VBA  
    Public PropertyVB project from VBA  
    Public PropertyGets the version of the terminal session control.  
    Public PropertyGets or sets whether the vertical scroll bar is visible.  
    Public PropertyGets or sets whether Reflection switches back and forth automatically between Tektronix and VT terminal emulation when it receives VT640-compatible control characters from the host.  
    Public PropertyGets or sets the VT340 Tektronix state.  
    Public PropertyGets or sets the device control string state.  
    Public PropertyGets or sets the number of lines displayed on screen.  
    Public PropertyGets the IP address returned by Windows Terminal Server (WTS).  
    Public PropertyGets the PC name returned by Windows Terminal Server (WTS).  
    Public PropertyGets the user name returned by Windows Terminal Server (WTS).  
    Public PropertyGets or sets whether the terminal will accept nulls from the host (for Wyse terminal emulation only).  
    Top
    Public Methods
     NameDescription
    Public MethodAdds a reference to a session file that contains macros you want to share with the current session to the VBA References settings. After you add the reference, the macros in that file are available to the current session. When you save your session, the macros are saved in your current session document file and updated each time you reopen your session.  
    Public MethodCloses the terminal session with the close option.  
    Public MethodCloses all connections established by the current instance of the emulator.  
    Public MethodConnects to the host. It is ignored if a connection already exists.  
    Public MethodDials a modem. This method is only valid if Reflection is set to use the old modem dialer (UseModemDialerV5 = true).  
    Public MethodDials a modem. This method is only valid if Reflection is set to use the old modem dialer (UseModemDialerV5 = true).  
    Public MethodDisconnects from the host. If no connection currently exists, this method is ignored.  
    Public MethodExecute a given action. Actions possible is defined in InputMapActionID.  
    Public MethodIssues a request to the Management and Security Server for a DASO pass ticket. On success, the DASOUserID and DASOPassTicket properties will be valid and can be used for automated sign on to the host. The application ID can be preset using the DASOApplicationID property in which case the ApplicationID parameter on this call may be empty.  
    Public MethodReturns a statistic for a serial connection.  
    Public MethodRetrieves a list of the session documents referenced by the current session from the VBA References settings. The macros in these session documents are available to the current session.  
    Public MethodHangs up the modem by sending the Hayes "+++" command to get the modem's attention, followed by the "ATH" hangup command.  
    Public MethodOpens a setting file.  
    Public MethodProcess a trace file created by StartTrace()/StopTrace().  
    Public Method

    Removes a reference to a session document file from the VBA References settings. After you remove this file name, the macros in that file are no longer available in the current session. To make this change permanent, you'll need to save your session document file.

     
    Public MethodExecutes a terminal reset.  
    Public MethodRestores the session settings to the default settings, as specified by the restore option value.  
    Public MethodResumes a previously suspended connection (suspend connections with the SuspendConnection method).  
    Public MethodThis method saves all settings.  
    Public MethodSaves all settings to the specified file.  
    Public MethodSaves a session as a compound session document.  
    Public MethodStart logging terminal activity.  
    Public MethodStarts capturing data coming from the host to a disk file.  
    Public MethodStop logging terminal activity.  
    Public MethodStops capturing incoming host data to a file and closes the trace file.  
    Public MethodSuspends the current host connection (so that it can be resumed later with ResumeConnection).  
    Public MethodInitializes the modem to automatically answer an incoming call and opens a status dialog box until a connection has been established.  
    Public MethodInitializes the modem to automatically answer an incoming call and opens a status dialog box until a connection has been established.  
    Public MethodInitializes the modem to automatically answer an incoming call and opens a status dialog box until a connection has been established.  
    Top
    Public Events
     NameDescription
    Public EventThis event occurs before the session closes.  
    Public EventThis event occurs when the request to close the session has been made.  
    Public EventThe event occurs after the connection to the host has been made.  
    Public EventThis event is triggered immediately before a connection is made.  
    Public EventThis event is triggered when the suspended connection to the host has been resumed.  
    Public EventThis event is triggered when the connection to the host has been suspended.  
    Public Event

    This event occurs when an unredacted Primary Account Number (PAN) is copied from the terminal (for example, when the PAN is copied to the clipboard).

    This event is enabled by configuring settings on the Setup Information Privacy dialog box. For more information, see "Logging Credit Card Access" in the Reflection VBA Guide.

     
    Public EventThe event occurs after the connection to the host has been disconnected.  
    Public EventThis event is triggered immediately after a settings file is opened.  
    Public EventThis event is triggered immediately before a settings file is opened.  
    Public EventThis event is triggered before Reflection disconnects from the host.  
    Top
    See Also