InfoConnect API Guide
Attachmate.Reflection.Emulation.UTS Namespace / IUtsScreen Interface / WaitForCursor Method / WaitForCursor(Int32,Int32,Int32,Int32,Int32) Method
Wait timeout value.
Start row.
Start column.
End row.
End column.


In This Topic
    WaitForCursor(Int32,Int32,Int32,Int32,Int32) Method
    In This Topic
    Waits for the cursor to be in the rectangle area specified by startRow, startColumn, endRow and endColumn.
    Syntax
    'Declaration
     
    
    Overloads Function WaitForCursor( _
       ByVal timeout As Integer, _
       ByVal startRow As Integer, _
       ByVal startColumn As Integer, _
       ByVal endRow As Integer, _
       ByVal endColumn As Integer _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IUtsScreen
    Dim timeout As Integer
    Dim startRow As Integer
    Dim startColumn As Integer
    Dim endRow As Integer
    Dim endColumn As Integer
    Dim value As ReturnCode
     
    value = instance.WaitForCursor(timeout, startRow, startColumn, endRow, endColumn)

    Parameters

    timeout
    Wait timeout value.
    startRow
    Start row.
    startColumn
    Start column.
    endRow
    End row.
    endColumn
    End column.

    Return Value

    ReturnCode indicates success, failure, or a warning condition.
    Exceptions
    ExceptionDescription
    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