InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.UTS Library / UtsScreen Object / SearchText2 Method
Text to be searched on the screen.
Row position from which to start search.
Column position from which to start search.
Text range of byte positions.
Specifies the direction in which text is searched.
In This Topic
    SearchText2 Method (UtsScreen)
    In This Topic
    Searches the specified text starting from the specified screen location for "searchRange" byte positions.
    Syntax
    expression.SearchText2( _
       ByVal text As String, _
       ByVal startRow As Integer, _
       ByVal startColumn As Integer, _
       ByVal searchRange As Integer, _
       ByVal findOption As FindOption _
    ) As ScreenPoint object 
    where expression is a variable that represents a UtsScreen Object

    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.
    searchRange
    Text range of byte positions.
    findOption
    Specifies the direction in which text is searched.

    Return Value

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