Wait

Top  Previous  Next

This Wait method basically waits until the host enters the unlocked state and is ready to receive input data.

 

Syntax

 

[boolean] = Display.Wait([timeout])        

 

Remarks

 

The timeout parameter is optional and is measured in milliseconds. This method returns 'True' if the wait is successful and 'False' if the timeout period expires.

 

This method uses alternatively the WaitForConnect, WaitForUnlock and WaitForNewScreen methods, according to the current state of the host (disconnected, locked or unlocked).

 

If you specify a value in the timeout parameter, the value of the WaitTimeout property will not have any effect.

 

         

Related Topics

 

WaitForConnect Method
WaitForUnlock Method
WaitForNewScreen Method