Wait

Top  Previous  Next

General wait mechanism. This method basically waits until the mainframe application turns in an unlocked state and is able to receive input data.

 

Visual Basic Syntax

 

[Boolean] = Screen.Wait([TimeOut] As Integer)

 

Delphi Syntax

 

[WordBool] = Screen.Wait([TimeOut]:Integer)

 

 

Remarks

 

The Timeout parameter is optional and it is measured in milliseconds. This method returns True if the wait was successful and False if the timeout period has expired.

 

 

See Also

 

WaitForConnect, WaitForUnlock and WaitForNewScreen methods.