Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Screen Object / WaitForControlKey Method
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
The ControlKeyCode value to wait for.
The value to indicate whether the program continues to process other actions.
In This Topic
    WaitForControlKey Method (Screen)
    In This Topic
    Waits for the specified control key press.
    Syntax
    expression.WaitForControlKey( _
       ByVal timeout As Integer, _
       ByVal keycode As ControlKeyCode, _
       ByVal continueProcess As Boolean _
    ) As ReturnCode
    where expression is a variable that represents a Screen Object

    Parameters

    timeout
    wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
    keycode
    The ControlKeyCode value to wait for.
    continueProcess
    The value to indicate whether the program continues to process other actions.

    Return Value

    One of the following ReturnCode enumeration values.

    Member Description
    Cancelled Cancelled.
    Error Error.
    PermissionRequired Permission is required.
    Success Success.
    Timeout Timeout condition.
    Truncated The text is truncated.

    See Also