WaitForUnlock |
Top Previous Next |
The WaitForUnlock method waits until the host enters the unlocked state and is ready to receive input data.
Syntax
[boolean] = Display.WaitForUnlock([timeout])
Remarks
This method is similar to the WaitForNewUnlock method, except that the unlock to wait for can be any unlock and not just a new one.
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.
If you specify a value in the timeout parameter, the value of the WaitTimeout property will not have any effect.
Related Topics
|