InfoConnect for Airlines VBA Guide
Screen Object Methods

For a list of all members of this type, see Screen members.

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 MethodCopyToBuffer

Copies selected text to one of four clipboard buffers. If an invalid bufferNum value is specified, the request is ignored.

Note: This property is supported only by the InfoConnect Desktop product. It is not supported by other Micro Focus products.

 
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 MethodPasteFromBuffer

Pastes data from one of four clipboard buffers. If an invalid bufferNum value is specified, or if the specified clipboard buffer does not contain data, the request is ignored.

Note: This property is supported only by the InfoConnect Desktop product. It is not supported by other Micro Focus products.

 
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
See Also