InfoConnect for Airlines VBA Guide
IbmScreen Object Methods

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

Methods and Functions
 NameDescription
Public MethodCancelSelectionCancels the text selection in the terminal window. If no text is selected, this method has no effect.  
Public MethodClearEventsRemoves all events defined via DefineEvent.  
Public MethodConfigureHotSpotsLoads the hotspots file as the current hotspots definitions.  
Public MethodCopyCopies selected text to the Clipboard.  
Public MethodCopyAppendAppends selected text to the end of the Clipboard.  
Public MethodCutCuts selected text and copies it to the Clipboard.  
Public MethodDefineEventDefines a specific event.  
Public MethodEnableDefineEvent

Enables a defined event.

 
Public MethodExtendSelectionSelects all text in the terminal window between the selection start position and the specified coordinates.  
Public MethodExtendSelectionRectSelects a block of text in the terminal window that includes all rows between the starting row and the specified row.  
Public MethodFindField1Locates a field starting from the specified row and column.  
Public MethodFindField2Locates a field that matches the specified field length, starting from the specified row and column.  
Public MethodFindField3Locates a field that matches the specified field attributes, starting from the specified row and column.  
Public MethodFindField4Locates a field that matches the specified field length and field attributes, starting from the specified row and column.  
Public MethodGetCharacterGets the ScreenCharacter at the specified location.  
Public MethodGetCharacterForegroundColorGets the foreground color of the character at the specified location.  
Public MethodGetCharactersGets ScreenCharacter objects from the specified location, each representing one character at a screen location.  
Public MethodGetFieldGets the host field that the specified row and column are part of.  
Public MethodGetFieldColorGets the foreground color of the host field that the specified row and column are part of.  
Public MethodGetFieldsGets a host field collection that matches specifed fieldAttributes.  
Public MethodGetFieldTextGets 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 MethodGetTextGets the text from the specified location.  
Public MethodGetTextExGets the text from the specified screen area.  
Public MethodIsAttributeTests whether the specified screen location is a field attribute position.  
Public MethodIsEnableDefineEventInspects the current state of a defined event.  
Public MethodLightPenSimulates a light pen selection at the specified location in the terminal window.  
Public MethodLockInputLocks the screen so that users cannot input on keyboard.  
Public MethodMoveCursorMoves the cursor forward or back.  
Public MethodMoveCursorTo1Moves the cursor to the specified screen location.  
Public MethodMoveCursorTo2Moves the cursor to the specified screen location.  
Public MethodPaste

Copies data from the Clipboard to the cursor location in the terminal window.

 
Public MethodPasteContinuePastes text leftover from a previous Paste command.  
Public MethodPrintScreenPrints the selected text or the entire terminal screen.  
Public MethodPutCharacterPuts a ScreenCharacter at the specified screen location.  
Public MethodPutText1Puts the text at the specified screen location, taking up "length" number of byte positions.  
Public MethodPutText2Puts the text at the specified screen location.  
Public MethodRemoveEventRemoves a specific event that was defined via DefineEvent.  
Public MethodScreenCoordinateToIndexConverts screen position in row and column to linear screen buffer index.  
Public MethodScreenIndexToColumnGets the column value of a screen location pointed to by screenIndex.  
Public MethodScreenIndexToCoordinateGets the screen coordinate of a screen location pointed to by screenIndex.  
Public MethodScreenIndexToRowGets the row value of a screen location pointed to by screenIndex.  
Public MethodSearchText1Searches the specified text, starting from the specified screen location.  
Public MethodSearchText2Searches the specified text, starting from the specified screen location for "searchRange" byte positions.  
Public MethodSearchText3Searches the specified text, starting from the specified screen location and ending at the specified end screen location.  
Public MethodSearchText4Searches the specified text, starting from the specified screen location and ending at the specified end screen location.  
Public MethodSelectAllSelects all of the text in the terminal window.  
Public MethodSendControlKeySend host control key to host.  
Public MethodSendControlKeySyncSends a host control key to the host.  
Public MethodSendKeysSends the text string to the host.  
Public MethodSetSelectionStartPosSets starting coordinates for selecting text. The default start position is the current cursor position.  
Public MethodUndoUndoes the last edit operation.  
Public MethodUnlockInputUnlocks the screen. See the LockInput() method for more information.  
Public MethodWaitWaits for the specified duration before executing the next command in the procedure. The procedure containing the command is paused until the wait expires.  
Public MethodWaitForControlKeyWaits for the specified control key press.  
Public MethodWaitForCursor1Waits for the cursor to be at the specified screen location.  
Public MethodWaitForCursor2Waits for the cursor to be in the rectangle area specified by startRow, startColumn, endRow and endColumn.  
Public MethodWaitForHostSettleWaits for host screen data to settle.  
Public MethodWaitForKeyboardEnabledWait for the keyboard to be unloacked enabled and ready for additional input.  
Public MethodWaitForText1Waits for the specified text to appear at the specified screen location. TextComparisonOption indicates desired text string comparison.  
Public MethodWaitForText2Waits for the specified text to appear at the specified rectangle area specified. TextComparisonOption indicates desired text string comparison.  
Top
See Also