WaitForNewScreen Method

Top  Previous  Next

This method waits until a new screen arrives within the specified period of time.

 

VB.NET Syntax

 

[Boolean] = tnxxxx.WaitForNewScreen ([TimeOut As Integer])

 

C# Syntax

 

[bool] = tnxxxx.WaitForNewScreen ([int TimeOut]);

 

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 methods.