PressAndWait

Top  Previous  Next

Sends an Attention Identifier Key along with all modified fields to the Mainframe and waits until the system become unlocked.

 

VB.NET Syntax

 

[Boolean =] Display.PressAndWait(Value As string,[TimeOut As Integer])

 

C# Syntax

 

[bool =] Display.PressAndWait (string Value,[int TimeOut]);

 

 

This method works as a combination of Press and WaitForUnlock methods. Timeout is an optional parameter and specify how much time in milliseconds the call will stop waiting for an unlock signal. If not is specified, the timeout will take the value of WaitTimeout property.

 

Returns true if the

 

See also Press and WaitForUnlock methods and WaitTimeout property.