Waits for the specified text to appear in the specified location.
'Declaration
Overloads Function WaitForText( _
ByVal As Integer, _
ByVal As String, _
ByVal As Integer, _
ByVal startColumn As Integer, _
ByVal As Integer, _
ByVal endColumn As Integer, _
ByVal As TextComparisonOption _
) As ReturnCode
'Usage
Dim instance As IIbmScreen
Dim timeout As Integer
Dim text As String
Dim startRow As Integer
Dim startColumn As Integer
Dim endRow As Integer
Dim endColumn As Integer
Dim option As TextComparisonOption
Dim value As ReturnCode
value = instance.WaitForText(timeout, text, startRow, startColumn, endRow, endColumn, option)
Parameters
- timeout
- Wait timeout value (milliseconds).
- text
- Text string.
- startRow
- Start row.
- startColumn
- Start column.
- endRow
- End row.
- endColumn
- End column.
- option
- TextComparisonOption indicates the desired text string comparison.
Return Value
ReturnCode indicates success, failure, or a warning condition.