InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.ALC Library / AlcScreen Object
Properties Methods Events

In This Topic
    AlcScreen Object Members
    In This Topic

    The following tables list the members exposed by AlcScreen.

    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 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 whether the keyboard is locked.  
    Public PropertyGets the parent object. The parent is the IAlcTerminal object.  
    Public PropertyGets the number of rows of the screen.  
    Public PropertyGets a value indicating whether the screen is in the settled state (stability).  
    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.  
    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 MethodGets the ScreenCharacter at the specified location.  
    Public MethodGets ScreenCharacter objects from the specified location, each representing one character at a screen location.  
    Public MethodGets the text from the specified location.  
    Public MethodGets the text from the specified screen area.  
    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 the text at the specified screen location, taking up "length" number of byte positions.  
    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 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