Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmScreen Object / SearchText2 Method
The text to be searched.
Screen row location.
Screen column location.
The number of byte positions to be searched.
Specifies the search direction.
In This Topic
    SearchText2 Method (IbmScreen)
    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 IbmScreen Object

    Parameters

    text
    The text to be searched.
    startRow
    Screen row location.
    startColumn
    Screen column location.
    searchRange
    The number of byte positions to be searched.
    findOption
    Specifies the search direction.

    Return Value

    The screen coordinate where the specified text begins, if found, or null if the text could not be found.
    See Also