InfoConnect API Guide
Attachmate.Reflection.Emulation.UTS Namespace / IUtsScreen Interface / WaitForControlKey Method
Wait timeout value.
Control key code.
Value to indicate whether the program can continue to process other actions.


In This Topic
    WaitForControlKey Method (IUtsScreen)
    In This Topic
    Waits for the specified control key press.
    Syntax
    'Declaration
     
    
    Function WaitForControlKey( _
       ByVal timeout As Integer, _
       ByVal keycode As ControlKeyCode, _
       ByVal continueProcess As Boolean _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IUtsScreen
    Dim timeout As Integer
    Dim keycode As ControlKeyCode
    Dim continueProcess As Boolean
    Dim value As ReturnCode
     
    value = instance.WaitForControlKey(timeout, keycode, continueProcess)

    Parameters

    timeout
    Wait timeout value.
    keycode
    Control key code.
    continueProcess
    Value to indicate whether the program can continue to process other actions.

    Return Value

    ReturnCode indicates success, failure, or a warning condition.
    See Also