InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmScreen Interface / WaitForKeyboardEnabled Method
Specifies how long to wait for the keyboard to become enabled (in seconds).
Specifies how long the keyboard must remain enabled (in seconds).


In This Topic
    WaitForKeyboardEnabled Method (IIbmScreen)
    In This Topic
    Wait for the keyboard to be enabled (unlocked and ready for additional input).
    Syntax
    'Declaration
     
    
    Function WaitForKeyboardEnabled( _
       ByVal timeout As Integer, _
       ByVal duration As Integer _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IIbmScreen
    Dim timeout As Integer
    Dim duration As Integer
    Dim value As ReturnCode
     
    value = instance.WaitForKeyboardEnabled(timeout, duration)
    ReturnCode WaitForKeyboardEnabled( 
       int timeout,
       int duration
    )

    Parameters

    timeout
    Specifies how long to wait for the keyboard to become enabled (in seconds).
    duration
    Specifies how long the keyboard must remain enabled (in seconds).

    Return Value

    ReturnCode object.
    Remarks
    If the timeout or duration parameter is greater than 60, it is interpreted as milliseconds.
    See Also