WaitFor |
Top Previous Next |
This method waits for a screen containing the specified string. In the first case shown below, it returns True if the wait was successful and False if the Timeout period has expired. In the second case it receives an array of strings as parameter, and returns an integer indicating the number of the string (into the array of strings) that was found.
Visual Basic Syntax
[Boolean =] Screen.WaitFor(Value As String, [TimeOut] As Integer, ResetWait As Boolean)
[Integer =] Screen.WaitFor(Values As String, [TimeOut] As Integer, ResetWait As Boolean)
Delphi Syntax
[WordBool :=] Screen.WaitFor(Value:string;[TimeOut]:Integer; ResetWait:Boolean);
[Integer :=] Screen.WaitFor(const Values:Array of string;[TimeOut]:Integer; ResetWait:Boolean);
Parameters
|