Top  Previous  Next

The WaitForNewScreen method waits until a new screen is displayed.




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




This method is similar to the WaitForScreen method, except that in WaitForNewScreen, the screen to wait for has to be 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


WaitForScreen Method