Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmScreen Object

In This Topic
IbmScreen Object Methods
In This Topic

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

Public Methods
 NameDescription
Public MethodCancels the text selection in the terminal window. If no text is selected, this method has no effect.  
Public MethodRemoves all events defined via DefineEvent.  
Public MethodLoads the hotspots file as the current hotspots definitions.  
Public MethodCopies selected text to the Clipboard.  
Public MethodAppends selected text to the end of the Clipboard.  
Public Method

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 MethodCuts selected text and copies it to the Clipboard.  
Public MethodDefines a specific event.  
Public Method

Enables a defined event.

 
Public MethodSelects all text in the terminal window between the selection start position and the specified coordinates.  
Public MethodSelects a block of text in the terminal window that includes all rows between the starting row and the specified row.  
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 field attributes.  
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 MethodInspects the current state of a defined event.  
Public MethodSimulates a light pen selection at the specified location in the terminal window.  
Public MethodLocks the screen so that users cannot input on keyboard.  
Public MethodMoves the cursor forward or back.  
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 Method

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 Method

Pastes the contents of the Clipboard to a defined region of the current screen and, if needed, regions of subsequent screens in the host application.

 
Public MethodPrints the selected text or the entire terminal screen.  
Public MethodPuts a ScreenCharacter at the specified screen location.  
Public Method

Puts text at a specified screen location, taking up the number of characters specified by the length parameter. PutText1 has two modes: Mask and LinearStream. These modes are set with the PutTextMaskProtectedField Property.

In Mask mode (the default), text that coincides with protected fields is skipped and is not placed on the screen.

In LinearStream mode, protected fields are ignored and the text is placed sequentially in unprotected fields until all of the text is placed on the screen or the specified length is exceeded.

 
Public Method

Puts text at a specified screen location. PutText2 has two modes: Mask and LinearStream. These modes are set with the PutTextMaskProtectedField Property.

In Mask mode (the default), text that coincides with protected fields is skipped and is not placed on the screen.

In LinearStream mode, protected fields are ignored and the text is placed sequentially in unprotected fields until all of the text is placed on the screen.

 
Public MethodRemoves a specific event that was defined via DefineEvent.  
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. The default start position is the current cursor position.  
Public MethodUndoes the last edit operation.  
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 enabled (unlocked 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
See Also