InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / IScreen Interface / WaitForControlKey Method
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
control key code
value to indicate whether the program should continue to process other actions


In This Topic
    WaitForControlKey Method (IScreen)
    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 IScreen
    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 (milliseconds). Value of 0 indicates wait indefinitely.
    keycode
    control key code
    continueProcess
    value to indicate whether the program should continue to process other actions

    Return Value

    ReturnCode indicating success/failure/status
    See Also