InfoConnect for Unisys
IScreen Interface Methods

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

Public Methods
 NameDescription
 MethodClearDisplayMemoryClears all display memory including the currently displayed screen.  
 MethodClearScreenClears the current screen in display memory.  
 MethodClearSelectionClears current selection. Ignored if emulating a VT terminal.  
 MethodCopyOverloaded. Copies ASCII text data to the clipboard.  
 MethodCopyAppendOverloaded. Appends selected text to the end of the clipboard.  
 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.

 
 MethodDisplayFileDisplays the specified local file on the terminal screen.  
 MethodDisplayTextOverloaded. Displays a string in the terminal window as though it had been received from the host.  
 MethodExtendSelectionSelects all text in the terminal window between the selection start position and the specified coordinates. Use the SetSelectionStartPos method to set the starting coordinates.  
 MethodExtendSelectionRectSelects all text in the terminal window in all rows between the starting row and the specified row. Use the SetSelectionStartPos method to set the starting coordinates.  
 MethodGetCharacterGets the ScreenCharacter at the specified location.  
 MethodGetCharacterAttributesRetrieves character attributes for the specified position.  
 MethodGetCharactersGets ScreenCharacter objects from the specified location, each representing one character at a screen location. The length argument specifies the number of screen bytes to get. In SBCS, the number of screen bytes is the same as that of ScreenCharacter objects. In DBCS, the two numbers can be different. If the last byte is only one half byte of a DBCS character, the last byte is not returned.  
 MethodGetTextOverloaded. Gets the text from the specified location. The length argument specifies the number of screen bytes to get. In SBCS, the number of screen bytes is the same as that of the ScreenCharacter objects. In DBCS, the two numbers can be different. If the last byte is only one half byte of a DBCS character, the last byte is not returned.  
 MethodLockInputLocks the screen so that users cannot input on keyboard. Other means of input (such as macros or the application programming interface) are still available. To release the lock, use UnlockInput().  
 MethodPasteCopies data from the clipboard to the current cursor location.  
 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.

 
 MethodReadCharsOverloaded. Reads a specified number of characters from the host.  
 MethodReadLineOverloaded. Reads data from the host until a line-feed character is encountered.  
 MethodReadUntilOverloaded. Read data from the host until one of the specified terminator characters is received. The terminator character is not included in the returned string.  
 MethodSaveDisplayMemoryOverloaded. Writes the entire display memory contents to a file.  
 MethodSearchTextOverloaded. Searches for the specified text, starting from the specified screen location.  
 MethodSelectAllSelects all of the text on the screen.  
 MethodSelectTextSelects specified display memory text.  
 MethodSendControlKeySend host control key to host.  
 MethodSendControlKeySyncSend host control key to host. The method does not return until the screen has settled for the time duration measured by the ScreenSettleTime property.  
 MethodSendKeysOverloaded. Sends the text string to the host.  
 MethodSetSelectionStartPosSets starting coordinates for selecting text.  
 MethodUnlockInputUnlocks the screen. See the LockInput() method for more information.  
 MethodWaitWait for the specified duration.  
 MethodWaitForControlKeyWaits for the specified control key press.  
 MethodWaitForHostSettleOverloaded. Waits for host screen data to settle (no incoming data for the specified settle time). The wait timeout value should be greater than settleTime. The keyboard is disabled.  
 MethodWaitForIncomingDataOverloaded. Waits for any data to come from the host. The keyboard is disabled.  
 MethodWaitForStringOverloaded. Waits for the specified text to be received from the host.  
 MethodWaitForStringsOverloaded. Waits for one of the specified text strings to be received from the host.  
 MethodWaitUntilOverloaded. Waits until the specified time.  
Top
See Also