WaitForScreen Method

Top  Previous  Next

This method waits for the first screen after a system lock.

 

VB.NET Syntax

 

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

 

C# Syntax

 

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

 

The TimeOut parameter is measured in milliseconds.

 

 

Remarks

 

If the host system changes from an unlocked to a locked state (normally when we send an Aid key) the method waits until the first screen arrives. If WaitForScreen method is called after that event, it returns immediately.

The Timeout parameter is optional, assuming the WaitTimeout property value by default. The 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 WaitForNewScreen method.