InfoConnect for Unisys
IUtsScreen Interface Members
Properties  Methods  Events

The following tables list the members exposed by IUtsScreen.

Public Properties
 NameDescription
 PropertyClearSelectionOnCopyGets or sets a value indicating whether text remains selected after it is copied to the Clipboard.  
 PropertyColumnsGets the number of columns in the screen.  
 PropertyControlPageActiveGets a value indicating whether the current page type is a Control page  
 PropertyCursorColumnGets or sets the cursor's column location relative to the left edge of the terminal window.  
 PropertyCursorRowGets or sets the cursor's row location relative to the top edge of the terminal window.  
 PropertyEmphasisTransmitTypeGets a value indicating the current emphasis transmit type  
 PropertyHostChangedControlPageGets a value indicating whether the host has accessed/changed the control page.  
 PropertyHostChangedScreenGets a value indicating whether the host has changed a character on the screen  
 PropertyHotSpotsGets the HotSpots object which is used to obtain/specify information pertaining to HotSpots behavior.  
 PropertyIsKeyboardLockedGets a value indicating whether the keyboard is locked.  
 PropertyKeyboardWaitStatusGets a value indicating whether the keyboard is locked because of a terminal wait status  
 PropertyMessageWaitingGets a value indicating whether a message is currently waiting  
 PropertyParentGets the parent object (IUtsTerminal).  
 PropertyRowsGets the number of rows of the screen.  
 PropertyScreenSettleStateGets a value indicating the settle state (stability) of the current screen.  
 PropertyScreenSettleTimeGets or sets time duration during which there should be no host data changes.  
 PropertySelectionGets the area of the screen that's currently selected.  
 PropertySelectionModeGets or sets options (Block or Stream) that determine the shape of a selected region.  
 PropertyTerminalModelGets a value indicating the current configured terminal model  
Top
Public Methods
 NameDescription
 MethodCancelSelectionCancels the text selection in the terminal window. If no text is selected, this method has no effect.  
 MethodCopyCopies selected text to the Clipboard.  
 MethodCopyAppendAppends selected text to the end of the Clipboard.  
 MethodCutCuts selected text and copies it to the Clipboard.  
 MethodExtendSelectionSelects all text in the terminal window between the selection start position and the specified coordinates.  
 MethodExtendSelectionRectSelects all text in the terminal window in all rows between the starting row and the specified row.  
 MethodFindFieldOverloaded. Locates a field starting from the specified row and column.  
 MethodGetCharacterGets the ScreenCharacter at the specified location.  
 MethodGetCharacterForegroundColorGets the foreground color of the character at the specified location.  
 MethodGetCharactersGets ScreenCharacter objects from the specified screen location. Each object represents one character.  
 MethodGetFieldGets the host field that the specified row and column are part of.  
 MethodGetFieldColorGets the foreground color of the host field that the specified row and column are part of.  
 MethodGetFieldsGets a host field collection that matches specifed fieldAttributes.  
 MethodGetFieldTextGets the text of the field that the specified row and column are part of.  
 MethodGetTextGets the text from the specified location.  
 MethodGetTextExGets the text from the specified screen area.  
 MethodIsAttributeTests whether the specified screen location is a field attribute position.  
 MethodLockInputLocks the screen so that users cannot use the keyboard to provide input.  
 MethodMoveCursorToOverloaded. Moves the cursor to the specified screen location.  
 MethodPasteCopies data from the Clipboard to the current cursor location.  
 MethodPasteContinuePastes remaining text from a previous Paste command.  
 MethodPutCharacterPuts a ScreenCharacter at the specified screen location.  
 MethodPutTextOverloaded. Puts text at the specified screen location.  
 MethodScreenCoordinateToIndexConverts screen position in row and column to linear screen buffer index.  
 MethodScreenIndexToColumnGets the column value of a screen location pointed to by screenIndex.  
 MethodScreenIndexToCoordinateGets the screen coordinate of a screen location pointed to by screenIndex.  
 MethodScreenIndexToRowGets the row value of a screen location pointed to by screenIndex.  
 MethodSearchTextOverloaded. Searches the specified text starting from the specified screen location.  
 MethodSelectAllSelects all of the text on the screen.  
 MethodSendControlKeySends a host control key to the host.  
 MethodSendControlKeySyncSends a host control key to the host.  
 MethodSendKeysSends the text string to the host.  
 MethodSetSelectionStartPosSets starting coordinates for selecting text.  
 MethodUnlockInputUnlocks the screen. See the LockInput() method for more information.  
 MethodWaitWaits for the specified duration.  
 MethodWaitForControlKeyWaits for the specified control key press.  
 MethodWaitForCursorOverloaded. Waits for the cursor to be at the specified screen location.  
 MethodWaitForHostSettleWaits for host screen data to settle.  
 MethodWaitForKeyboardEnabledWait for the keyboard to be unloacked enabled and ready for additional input.  
 MethodWaitForTextOverloaded. Waits for the specified text to appear at the specified screen location.  
Top
Public Events
 NameDescription
 EventAfterSendKeysOccurs after data keys are rendered on the terminal screen.  
 EventBeforeSendControlKeyOccurs before a control key is sent to the host.  
 EventBeforeSendKeysOccurs before a data key is sent to the host.  
 EventCursorInNewFieldOccurs when the cursor moves into a different field.  
 EventKeyboardLockedOccurs when the keyboard is locked.  
 EventKeyboardUnlockedOccurs when as the keyboard is unlocked.  
 EventMouseClickThis event occurs when a session window is clicked by the mouse.  
 EventNewScreenReadyOccurs when the screen has been quiet for the time duration specified by the ScreenSettleTime property.  
 EventScreenChangedOccurs when host data causes the data on the screen to change.  
Top
See Also