Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / IbmScreen Object / WaitForControlKey Method
Wait timeout value (milliseconds).
Control key code.
Value to indicate whether the program should continue to process other actions.
In This Topic
    WaitForControlKey Method (IbmScreen)
    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 IbmScreen Object

    Parameters

    timeout
    Wait timeout value (milliseconds).
    keycode
    Control key code.
    continueProcess
    Value to indicate whether the program should continue to process other actions.

    Return Value

    One of the following ReturnCode enum values.

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

    See Also