WaitForNewScreen Method |
Top Previous Next |
This method waits until a new screen arrives within the specified period of time.
Visual Basic Syntax
[Boolean] = TNBXSync.WaitForNewScreen ([TimeOut] As Integer)
Delphi Syntax
[Boolean] := TNBXSync.WaitForNewScreen ([TimeOut]: integer);
The TimeOut parameter is measured in milliseconds.
Remarks
This method is similar to WaitForScreen method except that it always waits for a new screen arrival. 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 and WaitForScreen, WaitForData methods. |