InfoConnect for Unisys VBA Guide
SearchText4 Function (UtsScreen)
Text to be searched on the screen.
Row position from which to start search.
Column position from which to start search.
Row position at which to end search.
Column position at which to end search.
Specifies the direction in which text is searched.
TextComparisonOption indicates how text is compared against the text on the host screen.
Searches the specified text, starting from the specified screen location and ending at the specified end screen location.
Syntax
object.SearchText4( _
   ByVal text As String, _
   ByVal startRow As Long, _
   ByVal startColumn As Long, _
   ByVal endRow As Long, _
   ByVal endColumn As Long, _
   ByVal findOption As FindOption, _
   ByVal textComparison As TextComparisonOption _
) As _ScreenPoint

Parameters

text
Text to be searched on the screen.
startRow
Row position from which to start search.
startColumn
Column position from which to start search.
endRow
Row position at which to end search.
endColumn
Column position at which to end search.
findOption
Specifies the direction in which text is searched.
textComparison
TextComparisonOption indicates how text is compared against the text on the host screen.

Return Value

Screen point object.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Thrown if the startRow, endRow, startColumn, or endColumn parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
See Also

 

 


2015 Attachmate

Send Feedback