ProcessInvalidKeystrokes Property

Gets or sets how Reflection handles invalid keystrokes.
Property ProcessInvalidKeystrokes As Boolean
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.
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