InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmScreen Interface / WaitForText Method / WaitForText(Int32,String,Int32,Int32,TextComparisonOption) Method
Wait timeout value (milliseconds).
Text string.
Row position.
Column position.
TextComparisonOption indicates the desired text string comparison.


In This Topic
    WaitForText(Int32,String,Int32,Int32,TextComparisonOption) Method
    In This Topic
    Waits for the specified text to appear at the specified screen location.
    Syntax
    'Declaration
     
    
    Overloads Function WaitForText( _
       ByVal timeout As Integer, _
       ByVal text As String, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal options As TextComparisonOption _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IIbmScreen
    Dim timeout As Integer
    Dim text As String
    Dim row As Integer
    Dim column As Integer
    Dim options As TextComparisonOption
    Dim value As ReturnCode
     
    value = instance.WaitForText(timeout, text, row, column, options)

    Parameters

    timeout
    Wait timeout value (milliseconds).
    text
    Text string.
    row
    Row position.
    column
    Column position.
    options
    TextComparisonOption indicates the desired text string comparison.

    Return Value

    ReturnCode indicates success, failure, or a warning condition.
    Exceptions
    ExceptionDescription
    This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
    See Also