InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.UTS Library / UtsScreen Object
Properties Methods Events

In This Topic
    UtsScreen Object Members
    In This Topic

    The following tables list the members exposed by UtsScreen.

    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether selected text is automatically copied to the clipboard.  
    Public PropertyGets or sets a value indicating whether text remains selected after it is copied to the Clipboard.  
    Public PropertyGets the number of columns of the screen.  
    Public PropertyGets a value indicating whether the current page type is a Control page  
    Public PropertyGets or sets the current cursor column location relative to the left edge of the terminal window.  
    Public PropertyGets or sets a value indicating whether the cursor should be placed after the last selected text.  
    Public PropertyGets or sets the current cursor row location relative to the top edge of the terminal window.  
    Public PropertyGets a value indicating the current emphasis transmit type  
    Public PropertyGets a value indicating whether the host has accessed/changed the control page.  
    Public PropertyGets a value indicating whether the host has changed a character on the screen  
    Public PropertyGets the HotSpots object.  
    Public PropertyGets a value indicating whether the keyboard is locked.  
    Public PropertyGets a value indicating whether the keyboard is locked because of a terminal wait status  
    Public PropertyGets a value indicating whether a message is currently waiting  
    Public PropertyGets the parent object. The parent is the IUtsTerminal object.  
    Public PropertyGets the number of rows of the screen.  
    Public PropertyGets a value indicating the settle state (stability) of the current screen.  
    Public PropertyGets or sets time duration during which there should be no host data changes. This value is used in triggering the NewScreenReady event. The value is not persisted.  
    Public PropertyGets the area of the screen currently selected.  
    Public PropertyGets or sets the type of a selected region.  
    Public PropertyGets or sets a value indicating whether trailing blank lines are removed from the cut or copied text.  
    Public PropertyGets a value indicating the current configured terminal model  
    Top
    Public Methods
     NameDescription
    Public MethodCancels the text selection in the terminal window. If no text is selected, this method has no effect.  
    Public MethodCopies selected text to the Clipboard.  
    Public MethodAppends selected text to the end of the Clipboard.  
    Public MethodCopies selected text to one of 4 clipboard buffers. If an invalid bufferNum value is specified, the request is ignored.  
    Public MethodCuts selected text and copies it to the Clipboard.  
    Public MethodSelects a rectangular block of text in the terminal window between the selection start position (or row 1, column 1, if there is no selection start position) and the specified coordinates.  
    Public MethodSelects all text in the terminal window in all rows between the starting row and the specified row (or row 1, column 1, if there is no selection start position).  
    Public MethodLocates a field starting from the specified row and column.  
    Public MethodLocates a field that matches the specified field length, starting from the specified row and column.  
    Public MethodLocates a field that matches the specified field attributes, starting from the specified row and column.  
    Public MethodLocates a field that matches the specified field length and field attributes, starting from the specified row and column.  
    Public MethodGets the ScreenCharacter at the specified location.  
    Public MethodGets the foreground color of the character at the specified location.  
    Public MethodGets ScreenCharacter objects from the specified location, each representing one character at a screen location.  
    Public MethodGets the host field that the specified row and column are part of.  
    Public MethodGets the foreground color of the host field that the specified row and column are part of.  
    Public MethodGets a host field collection that matches specifed fieldAttributes.  
    Public MethodGets the text of the field that the specified row and column are part of. Use Row and Column parameters to identify the field that you want to get text from. Coordinates are based on 1,1 for the upper-left corner of the terminal window (as they appear on the status line if you move the cursor to the field you want to retrieve). The coordinates can be located anywhere within the field.  
    Public MethodGets the text from the specified location.  
    Public MethodGets the text from the specified screen area.  
    Public MethodTests whether the specified screen location is a field attribute position.  
    Public MethodLocks the screen so that users cannot input on keyboard.  
    Public MethodMoves the cursor to the specified screen location.  
    Public MethodMoves the cursor to the specified screen location.  
    Public Method

    Copies data from the Clipboard to the cursor location in the terminal window.

     
    Public MethodPastes text leftover from a previous Paste command.  
    Public MethodPastes data from a specified clipboard buffer, if the specified buffer contains data. Ignored if an invalid bufferNum value is specified, or if the specified clipboard buffer does not contain data.  
    Public MethodPuts a ScreenCharacter at the specified screen location.  
    Public MethodPuts text at the specified screen location.  
    Public MethodPuts the text at the specified screen location.  
    Public MethodConverts screen position in row and column to linear screen buffer index.  
    Public MethodGets the column value of a screen location pointed to by screenIndex.  
    Public MethodGets the screen coordinate of a screen location pointed to by screenIndex.  
    Public MethodGets the row value of a screen location pointed to by screenIndex.  
    Public MethodSearches the specified text starting from the specified screen location.  
    Public MethodSearches the specified text starting from the specified screen location for "searchRange" byte positions.  
    Public MethodSearches the specified text, starting from the specified screen location and ending at the specified end screen location.  
    Public MethodSearches the specified text, starting from the specified screen location and ending at the specified end screen location.  
    Public MethodSelects all of the text in the terminal window.  
    Public MethodSend host control key to host.  
    Public MethodSends a host control key to the host.  
    Public MethodSends the text string to the host.  
    Public MethodSets starting coordinates for selecting text. You can also set the selection start position by clicking in the terminal window with the mouse. If no selection start position has been set, the default is row 1, column 1.  
    Public MethodUnlocks the screen. See the LockInput() method for more information.  
    Public MethodWaits for the specified duration before executing the next command in the procedure. The procedure containing the command is paused until the wait expires.  
    Public MethodWaits for the specified control key press.  
    Public MethodWaits for the cursor to be at the specified screen location.  
    Public MethodWaits for the cursor to be in the rectangle area specified by startRow, startColumn, endRow and endColumn.  
    Public MethodWaits for host screen data to settle.  
    Public MethodWait for the keyboard to be unloacked enabled and ready for additional input.  
    Public MethodWaits for the specified text to appear at the specified screen location. TextComparisonOption indicates desired text string comparison.  
    Public MethodWaits for the specified text to appear at the specified rectangle area specified. TextComparisonOption indicates desired text string comparison.  
    Top
    Public Events
     NameDescription
    Public EventOccurs after a data key or string is sent to the host.  
    Public EventOccurs before a control key is sent to the host.  
    Public EventOccurs before a data key is sent to the host.  
    Public EventOccurs as soon as the cursor moves into a different field.  
    Public EventOccurs as soon as the keyboard is locked.  
    Public EventOccurs as soon as the keyboard is unlocked.  
    Public EventThis event occurs when a session window is clicked by the mouse.  
    Public EventOccurs as soon as the screen has been quiet for the time duration specified by the ScreenSettleTime property.  
    Public EventOccurs as soon as the host data causes the data on the screen to change.  
    Top
    See Also