Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Screen Object / SearchText2 Method
The text string to search for.
Starting row for the search. The valid range is 1 through the number of rows.
Starting column for the search. The valid range is 1 through the number of columns.
The number of character positions to search.
A FindOptions value that specifies the search direction.
In This Topic
    SearchText2 Method (Screen)
    In This Topic
    Searches for 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 FindOptions _
    ) As ScreenPoint object 
    where expression is a variable that represents a Screen Object

    Parameters

    text
    The text string to search for.
    startRow
    Starting row for the search. The valid range is 1 through the number of rows.
    startColumn
    Starting column for the search. The valid range is 1 through the number of columns.
    searchRange
    The number of character positions to search.
    findOption
    A FindOptions value that specifies the search direction.

    Return Value

    A ScreenPoint object that contains the coordinate of the located text or null, if the text is not found.
    See Also