InfoConnect for Unisys VBA Guide
Screen Object Members

The following tables list the members exposed by Screen.

Properties
 NameDescription
Public PropertyAbsoluteRowGets or sets how Reflection calculates the cursor row position shown in the status bar display for VT emulations only.  
Public PropertyAutoLinefeedGets or sets whether Reflection appends a line-feed character to each transmitted or received carriage return character.  
Public PropertyAutoRepeatGets or sets whether keys repeat when you hold them down. (The SHIFT, ENTER, and CTRL keys never auto repeat.)  
Public PropertyAutoScrollGets or sets whether Auto Scroll is on for Wyse, DG, and ADDS terminal emulation only.  
Public PropertyBreakEnabledGets or sets whether a break can be transmitted to the host computer.  
Public PropertyBreakLengthGets or sets the length (in milliseconds) of the break signal.  
Public PropertyCapsLockGets or sets whether the CapsLock keyboard function is in effect.  
Public PropertyClearDisplayOnWidthChangeEnabledGets or sets whether the screen display is cleared when the number of screen columns changes.  
Public PropertyColumnsPerScrollGets or sets the number of columns (or character positions) to roll right or left during one horizontal scrolling operation with CTRL+Left or CTRL+Right.  
Public PropertyCompensateFrameSpacesGets or sets how Reflection handles spaces when aligning data on screen.  
Public PropertyCompressBlankLinesEnabledGets or sets how Reflection handles blank lines in display memory.  
Public PropertyCopyDataFormatGets or sets the copy data format.  
Public PropertyCopyGraphicsBackgroundGets or sets whether bitmaps copied to the Clipboard are edited to set the background color to white and near-white colors to black.  
Public PropertyCopyGraphicsVGAColorsGets or sets whether bitmaps copied to the Clipboard are dithered to standard VGA colors.  
Public PropertyCopyTableMethodGets or sets the copy table method.  
Public PropertyCursorColumnReturns the column that contains the cursor in the terminal window, relative to the left edge of the screen.  
Public PropertyCursorRowReturns the row that contains the cursor in the terminal window, relative to the top of the screen (in host-addressable coordinates).  
Public PropertyDisplayColumnsGets or sets the number of columns displayed in the terminal window.  
Public PropertyDisplayEnabledGets or sets whether Reflection displays characters received from the host during the execution of any of the following methods: WaitForString, WaitForStrings, ReadChars, ReadLine, or ReadUntil.  
Public PropertyDisplayMemoryBlocksGets or sets the number of 8-kilobyte blocks allocated to display memory.  
Public PropertyDisplayMemoryTopRowReturns the index of the top row of display memory (in host-addressable coordinates).  
Public PropertyDisplayRowsGets or sets the number of lines in each page of display memory.  
Public PropertyDrawingOptimizationGets or sets whether Reflection uses drawing optimization features to control the timing of changes to the screen display.  
Public PropertyDynamicTerminalSizeGets or sets whether Reflection supports dynamic update of the number of rows and columns in the display when the user resizes the terminal window.  
Public PropertyEndOfLineWrapThis property returns or specifies what happens when typing reaches the right margin (that is, the end of a line).  
Public PropertyForceAutoRepeatWhen this property is set to true, Reflection ignores the current value of the AutoRepeat property and always auto repeats (causing most keys to repeat when you hold the key down).  
Public PropertyIbmCharInsertionOptionGets or sets how character insertion is handled during IBM 3151 terminal sessions (TerminalType = IBM3151).  
Public PropertyIbmClearModifiedGets or sets whether to clear the MDT (Modified Data Tag) after data is sent to the host during IBM 3151 terminal sessions (TerminalType = IBM3151).  
Public PropertyIbmEnterKeyGets or sets what the ENTER key does in a IBM 3151 terminal session (TerminalType = IBM3151).  
Public PropertyIbmIgnoreNullGets or sets whether nulls received from the host are ignored during IBM 3151 terminal sessions (TerminalType = IBM3151).  
Public PropertyIbmInsertionGets or sets what the INSERT key does in a 3151 terminal session (TerminalType = IBM3151).  
Public PropertyIbmIsBlockModeGets or sets the Block mode state for IBM 3151 terminal sessions (TerminalType = IBM3151).  
Public PropertyIbmLineInsertionOptionGets or sets how line insertion is handled during IBM 3151 terminal sessions (TerminalType = IBM3151).  
Public PropertyIbmReceivedCRGets or sets how a received carriage return is interpreted in a IBM 3151 terminal session (TerminalType = IBM3151).  
Public PropertyIbmReceivedLFGets or sets how a received line feed is interpreted in a IBM 3151 terminal session (TerminalType = IBM3151).  
Public PropertyIbmReturnKeyGets or sets what the RETURN key does in a IBM 3151 terminal session (TerminalType = IBM3151).  
Public PropertyIbmSendKeyGets or sets what the SEND key does in a IBM 3151 terminal session (TerminalType = IBM3151).  
Public PropertyIbmSendTrailingNullsGets or sets whether trailing nulls are sent to the host during IBM 3151 terminal sessions (TerminalType = IBM3151).  
Public PropertyIbmTabKeyGets or sets what the TAB key does in a IBM 3151 terminal session (TerminalType = IBM3151).  
Public PropertyIbmTurnAroundCharGets or sets the LineTurnAround (LTA) character for IBM 3151 terminal sessions (TerminalType = IBM3151).  
Public PropertyImageColorMapFleshtonePriorityGets or sets what happens when a 256-color image is pasted from the Clipboard to the Reflection terminal window.  
Public PropertyImageDitherGets or sets what happens when a 256-color image is pasted from the Clipboard to the Reflection terminal window.  
Public PropertyImageUseCurrentColorMapGets or sets what happens when color bitmaps are pasted from the Clipboard.  
Public PropertyInactivityEventsIgnoreKeyboardMouseGets or sets how Reflection handles keyboard and mouse actions with events that are scheduled to execute after a period of inactivity.  
Public PropertyInsertModeGets or sets whether characters can be added to text in the terminal window without typing over existing characters.  
Public PropertyIsJISRomanThis property returns or specifies how character 92 is displayed by default when HostCharacterSet is set to DECKanji1983 or DECKanji1978.  
Public PropertyIsKeyboardLockedGets or sets whether or not the keyboard and the toolbar are locked (that is, they cannot be used).  
Public PropertyJumpScrollSpeedGets or sets how Reflection manages data that enters display memory.  
Public PropertyMaintainUnscaledImageBy default, Reflection scales images down so that an entire image fits on the PC display.  
Public PropertyMarginBellEnabledGets or sets whether a bell sounds when the cursor reaches the column that is eight spaces left of the right margin.  
Public PropertyMarginClickSelectsLineGets or sets what occurs when the mouse is clicked in the left margin of the terminal window.  
Public PropertyMouseColumnReturns the column location where the mouse was last clicked in the terminal screen.  
Public PropertyMouseRowReturns the row location (in host-addressable coordinates) where the mouse was last clicked within the terminal screen.  
Public PropertyMultiplePageTerminalIf you run a host application that requires the terminal to have a single page of memory (24 lines), set this property to false.  
Public PropertyNumLockGets or sets whether the NumLock keyboard function is on or off.  
Public PropertyOnDemandFontsEnabledOn-demand font-loading (ODL) is a Digital Japan feature that was added to Reflection version 5.2 (along with related features such as VT382 font-preloading and Gyoukan-Keisen line drawing).  
Public PropertyPageCouplingGets or sets whether the cursor is coupled to the current page in page memory, or if moving the cursor to another page causes that page to be displayed.  
Public PropertyParentGets the parent object (ITerminal).  
Public PropertyPasteBufferSizeGets or sets the size of a "paste block" (that is, the number of characters pasted from the Clipboard to the terminal window before a pause occurs).  
Public PropertyPasteDelayGets or sets how long (in tenths of a second) Reflection waits between "paste blocks" when pasting data from the Clipboard into display memory.  
Public PropertyReGISMoveMouseGets or sets what happens to the ReGIS cursor when you move the Windows mouse to a location in the Reflection terminal window that is different from the position the host has established.  
Public PropertyReGISRestoreTextColorsGets or sets whether Reflection restores text colors after ReGIS graphics have been drawn.  
Public PropertyReverseVideoGets or sets whether the foreground and background colors for screen attributes are reversed.  
Public PropertySavePageOnClearGets or sets whether onscreen data is saved in display memory when the host clears the display.  
Public PropertyScreenHotSpotsPertains to hotspots behavior.  
Public PropertyScreenPrintingRetrieves a Printing object, which is used to obtain and specify information that pertains to printing behavior.  
Public PropertyScreenSettleTimeGets or sets the time duration during which there are no changes to host data.  
Public PropertyScreenTopRowGets the row number of the top row of the screen (in host-addressable coordinates). The ScreenTopRow value is always 1 unless Reflection is emulating an HP host terminal. For HP terminals, the value is equal to the number of rows of display memory above what the host would consider to be the top row on the screen. This can be different from the top row that is visible in the window if the user has scrolled using the scroll bar.  
Public PropertyScrollOptimizationGets or sets when Reflection uses an off-screen bitmap to speed up scrolling.  
Public PropertySelectionReturns information about current selection.  
Public PropertySelectionModeGets the type of region that is selected.  
Public PropertyShowControlCharactersWhen this property is set to true, Reflection displays control characters but does not execute the functions these characters would otherwise perform.  
Public PropertySlashZeros  
Public PropertySmoothScrollGets or sets the scroll speed setting.  
Public PropertyTektronixDefaultFontSizeGets or sets the default font size for Tektronix emulation.  
Public PropertyTransmitXonXoffEnabledWhen this property is set to false, CTRL+S executes the hold screen keyboard function, and CTRL+Q cancels the hold screen. (Neither keystroke transmits anything to the host.)  
Public PropertyTVIAttributeBaseModeGets or sets how visual attributes are applied for TVI terminal emulations (TerminalType = TVI955).  
Public PropertyTVIAttributeSpaceEnabledGets or sets whether a visual attribute occupies a character space in display memory when Reflection emulates a TVI terminal (TerminalType = TVI955).  
Public PropertyTVIBottomStatusLineGets or sets usage and display of the bottom status line for TVI terminal emulations (TerminalType = TVI955).  
Public PropertyTVICompatibilityGets or sets which TVI emulation type Reflection uses when TerminalType is set to TVI955.  
Public PropertyTVIDownKeySendsGets or sets the action of the DOWN key in TVI terminal emulations (TerminalType = TVI955).  
Public PropertyTVIFunctionKeySetGets or sets which function key set is available to the keyboard for TVI terminal emulations (TerminalType = TVI955).  
Public PropertyTVIStatusLineAttributeGets or sets how the top and bottom status line appear in the Reflection terminal window in a TVI terminal emulation (TerminalType = TVI955).  
Public PropertyTVITopStatusLineGets or sets usage and display of the top status line in TVI terminal emulations (TerminalType = TVI955).  
Public PropertyUseAnsiColorGets or sets whether the host can transmit ANSI color sequences to Reflection, thereby changing the foreground and background colors for characters displayed in the terminal window.  
Public PropertyUseKatakanaCharacterSetGets or sets whether the Katakana or Kanji character set is used by default when HostCharacterSet is set to DECKanji1983 or DECKanji1978.  
Public PropertyVerticalCouplingGets or sets whether the row 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 PropertyVTBackspaceSends  
Public PropertyVTCursorKey  
Public PropertyVTKeyPad  
Public PropertyWordSelectionBoundaryExclusiveGets or sets a string of characters that mark the beginning or end of a word when using a mouse to select words in the terminal window.  
Public PropertyWordSelectionBoundaryInclusiveGets or sets a string of characters that mark the beginning or end of a word when using a mouse to select words in the terminal window.  
Public PropertyWyseAttributeGets or sets the Wyse terminal display attribute mode (for Wyse terminal emulations only).  
Public PropertyWyseBlockModeGets or sets whether a Wyse terminal is in Block Mode.  
Public PropertyWyseBlockTerminatorGets or sets the end-of-transmission delimiter for block sends (for Wyse terminal emulations only).  
Public PropertyWyseDelKeyAsDestructiveBackspaceGets or sets how a DEL character is handled for Wyse terminal emulation only.  
Public PropertyWyseEnterKeyGets or sets what is sent to the host when the ENTER key is pressed (for Wyse terminal emulations only).  
Public PropertyWyseLabelLinesGets or sets how many label lines are visible (for Wyse terminal emulation only).  
Public PropertyWyseProtectModeGets or sets whether the terminal is in Protect Mode (for Wyse terminal emulation only).  
Public PropertyWyseReceivedCRGets or sets how a received carriage return (CR) is interpreted (in Wyse terminal emulations only).  
Public PropertyWyseReturnKeyGets or sets what is sent to the host when the RETURN key is pressed (for Wyse terminal emulations only).  
Public PropertyWyseStatusLineDisplayGets or sets whether the Wyse status line at the top of the screen is set to Off, Standard, or Edit.  
Top
Methods and Functions
 NameDescription
Public MethodClearDisplayMemoryClears all display memory including the currently displayed screen.  
Public MethodClearEventsRemoves all events defined via DefineEvent.  
Public MethodClearScreenClears the current screen in display memory.  
Public MethodClearSelectionClears current selection. Does not apply to VT terminal emuations.  
Public MethodCopyCopies ASCII text data to the Clipboard.  
Public MethodCopy2Copies data to the Clipboard.  
Public MethodCopy3Copies data to the Clipboard given the CopyFormatOption.  
Public MethodCopyAppendAppends selected text to the end of the Clipboard.  
Public MethodCopyAppend2Appends selected text to the end of the Clipboard.  
Public MethodDefineEventDefines a specific event. The event remains defined until it is removed with a RemoveEvent or ClearEvent call or the host session is closed.  
Public MethodDisplayFileDisplays the specified local file on the terminal screen.  
Public MethodDisplayTextDisplays a string in the terminal window as though it had been received from the host.  
Public MethodDisplayText2Displays a string in the terminal window as though it had been received from the host.  
Public MethodExtendSelectionSelects all text in the terminal window between the specified starting and ending coordinates.  
Public MethodExtendSelectionRectSelects all text in the terminal window in all rows between the specified starting and ending coordinates.  
Public MethodGetCharacterGets the ScreenCharacter at the specified location.  
Public MethodGetCharacterAttributesRetrieves character attributes for the specified position on the screen.  
Public MethodGetCharactersGets ScreenCharacter objects from the specified location, each representing one character at a screen location.  
Public MethodGetTextRetrieves text from the specified screen region. Text from the "wrapped" region is returned.  
Public MethodGetText2Retrieves text from the specified screen region. Text from the "wrapped" region is returned.  
Public MethodGetText3Retrieves text from the specified screen region.  
Public MethodLockInputLocks the screen and prevents input from the keyboard.  
Public MethodPasteCopies data from the Clipboard to the current cursor location.  
Public MethodReadCharsReads a specified number of characters from the host.  
Public MethodReadChars2Reads a specified number of characters from the host.  
Public MethodReadChars3Reads a specified number of characters from the host.  
Public MethodReadLineReads data from the host until a line-feed character is encountered.  
Public MethodReadLine2Reads data from the host until a line-feed character is encountered.  
Public MethodReadLine3Reads data from the host until a line-feed character is encountered.  
Public MethodReadUntilReads data from the host until one of the specified terminator characters is received. The terminator character is not included in the returned string.  
Public MethodReadUntil2Reads data from the host until one of the specified terminator characters is received. The terminator character is not included in the returned string.  
Public MethodReadUntil3Reads data from the host until one of the specified terminator characters is received. The terminator character is not included in the returned string.  
Public MethodRemoveEventRemoves a specific event that was defined via DefineEvent.  
Public MethodSaveDisplayMemoryWrites the entire display memory contents to a file.  
Public MethodSaveDisplayMemory2Writes the specified portion of display memory to a file.  
Public MethodSearchTextSearches for the specified text, starting from the specified screen location.  
Public MethodSearchText2Searches for the specified text, starting from the specified screen location for "searchRange" byte positions.  
Public MethodSearchText3Searches for the specified text on the screen, from the specified starting location to the specified ending location.  
Public MethodSearchText4Searches for the specified text on the screen, from the specified starting location and to the specified ending location.  
Public MethodSelectAllSelects all of the text on the screen.  
Public MethodSelectTextSelects specified display memory text.  
Public MethodSendControlKeySends a host control key to host.  
Public MethodSendControlKeySyncSends a host control key to host. The method does not return until the screen has settled for the time duration measured by the ScreenSettleTime property.  
Public MethodSendKeysSends the text string to the host.  
Public MethodSendKeys2Sends a text string to the host.  
Public MethodSetSelectionStartPosSets the starting coordinates for selecting text.  
Public MethodUnlockInputUnlocks the screen. See the LockInput() method for more information.  
Public MethodWaitWaits for the specified duration.  
Public MethodWaitForControlKeyWaits for the specified control key press.  
Public MethodWaitForHostSettleWaits for the host screen data to settle (that is, there is no incoming data for the specified settle time).  
Public MethodWaitForHostSettle2Waits for host screen data to settle (that is, there is no incoming data for the specified settle time).  
Public MethodWaitForHostSettle3Waits for host screen data to settle (that is, there is no incoming data for the specified settle time).  
Public MethodWaitForHostSettle4Waits for host screen data to settle (that is, there is no incoming data for the specified settle time).  
Public MethodWaitForIncomingDataWaits for any data to come from the host during which time the keyboard is disabled.  
Public MethodWaitForIncomingData2Waits for any data to come from the host during which time the keyboard is disabled.  
Public MethodWaitForIncomingData3Waits for any data to come from the host.  
Public MethodWaitForStringWaits for the specified text to be received from the host.  
Public MethodWaitForString2Waits for the specified text to be received from the host.  
Public MethodWaitForString3Waits for the specified text to be received from the host.  
Public MethodWaitForStringsWaits for one of the specified text strings to be received from the host.  
Public MethodWaitForStrings2Waits for one of the specified text strings to be received from the host.  
Public MethodWaitForStrings3Waits for one of the specified text strings to be received from the host.  
Public MethodWaitForStrings4Waits for one of the specified text strings to be received from the host.  
Public MethodWaitUntilWaits until the specified time.  
Public MethodWaitUntil2Waits until the specified time.  
Top
Events
 NameDescription
Public EventControlKeySendingThis event is triggered when a key or control key is about to be sent to the host. ControlKeySending allows you to modify a control key value or to cancel a send control key action before it is sent.  
Public EventControlKeySentThis event is triggered immediately after Reflection transmits a terminal keystroke to the host.  
Public EventDefinedEventThis event is triggered when an event defined by the DefineEvent method occurs. Events defined in this way remain defined as long as your Reflection session lasts, or until they are removed using the RemoveEvent or ClearEvents methods.  
Public EventKeyboardLockedThis event is triggered when the keyboard becomes locked (either by the host or by Reflection).  
Public EventKeyboardUnlockedThis event is triggered when the keyboard becomes unlocked or enabled (either by the host or by Reflection).  
Public EventKeysSendingThis event is triggered when a key is about to be sent to the host. KeysSending allows you to modify a key value or to cancel a send key action before it is sent.  
Public EventKeysSentThis event is triggered immediately after Reflection transmits a character, or string of characters, to the host.  
Public EventMouseClickThis event occurs when a session window is clicked by the mouse.  
Top
See Also

 

 


2015 Attachmate

Send Feedback