Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / ProcessInvalidKeystrokes Property


In This Topic
    ProcessInvalidKeystrokes Property
    In This Topic
    Gets or sets how Reflection handles invalid keystrokes.
    Syntax
    'Declaration
     
    
    Property ProcessInvalidKeystrokes As Boolean
    'Usage
     
    
    Dim instance As ITerminal
    Dim value As Boolean
     
    instance.ProcessInvalidKeystrokes = value
     
    value = instance.ProcessInvalidKeystrokes
    bool ProcessInvalidKeystrokes {get; set;}

    Property Value

    The default value is true.
    Remarks
    When this property is true, invalid keystrokes generate an error message.

    When this property is false, invalid keystrokes are ignored. For example, if a user presses a key that is mapped to a macro when another macro is running, by default, Reflection displays an error stating that a macro is already running.

    Setting ProcessInvalidKeystrokes to false avoids this error.

    See Also