InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmTerminal Interface / KeyboardErrorReset Property


In This Topic
    KeyboardErrorReset Property
    In This Topic
    Gets or sets a value that specifies how keyboard errors are processed.
    Syntax
    'Declaration
     
    
    Property KeyboardErrorReset As KeyboardErrorResetOption
    'Usage
     
    
    Dim instance As IIbmTerminal
    Dim value As KeyboardErrorResetOption
     
    instance.KeyboardErrorReset = value
     
    value = instance.KeyboardErrorReset
    KeyboardErrorResetOption KeyboardErrorReset {get; set;}

    Property Value

    The default value (NoAutoReset) specifies standard terminal behavior. This requires that users press Reset to clear the error before they can resume data entry.
    Other Values Description
    AutoReset Users do not need to press Reset to clear a keyboard error. Any key users press (not just Reset) clears the error, restores the previous error line data, and attempts to execute the keystroke as follows: If the cursor is in a valid input field and the key is a data key, the data is entered, provided the data is valid for that field. If the cursor is in a valid input field and the key is a function key, the key operation is executed. If the current cursor position is not in a valid input field and the key is a data key, the cursor is moved to the next valid input field where the data is entered, provided the data is valid for that field. If the current cursor position is not in a valid input field and the key is a function key, the cursor is moved to the next valid input field and the key is ignored. If the current AS/400 screen contains no valid input fields, an error appears with each keystroke users press, and no keystrokes are executed.
    AutoResetNoMessage No error is reported and InfoConnect attempts to execute the keystroke as follows: If the cursor is in a valid input field, the key (whether a data key or a function key) is ignored. If the cursor is not in a valid input field and the key is a data key, the cursor is moved to the next valid input field where the data is entered, provided the data is valid for that field. If the cursor is not in a valid input field and the key is a function key, the cursor is moved to the next valid input field and the key is ignored. Use this value with caution, because it prevents users from being notified of keyboard errors.
    Exceptions
    ExceptionDescription
    This exception is thrown when you modify a property that was secured via the Permissions Manager or that can only be modified by an Administrator.
    Remarks

    Keyboard errors appears on the host status line (in 5250 sessions) or in the operator information area (in 3270 sessions).

    This option is only applicable in data processing (not Text Assist) mode.

    See Also