WaitFor Method |
Top Previous Next |
Wait for an screen containing the specified string.
Visual Basic Syntax
[Boolean] = TNBXSync.WaitFor(StrValue As String, [TimeOut] As Integer)
Delphi Syntax
[Boolean] := TNBXSync.WaitFor(StrValue:string, [TimeOut]:integer);
The TimeOut parameter is measured in milliseconds.
Remarks
The Timeout parameter is optional, assuming the WaitTimeout property value by default. This method returns True if the wait was successful and False if the timeout period has expired. If you pass a timeout value in the Timeout parameter of this method, the value of the property WaitTimeout will not have any effect.
See also WaitTimeout property, WaitForScreen, WaitForUnlock and WaitForNewScreen methods.
|