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


In This Topic
    MappedNumLockPreservesNumLock Property (ITerminal)
    In This Topic
    Gets or sets how Reflection responds to a NUM LOCK key press on the PC when it is mapped to emulate the action of a terminal key.
    Syntax
    'Declaration
     
    
    Property MappedNumLockPreservesNumLock As Boolean
    'Usage
     
    
    Dim instance As ITerminal
    Dim value As Boolean
     
    instance.MappedNumLockPreservesNumLock = value
     
    value = instance.MappedNumLockPreservesNumLock
    bool MappedNumLockPreservesNumLock {get; set;}

    Property Value

    The default value is true.
    Remarks
    In default VT emulations, the NUM LOCK key is mapped to PF1; the Num Lock state has no effect on the behavior of the numeric keypad or other keys.

    When this property is true, pressing the NUM LOCK key sends the mapped keystroke to the host and also preserves the current Num Lock state of the PC keyboard. This matches the behavior of all Reflection sessions prior to version 9.0.

    When this property is false, pressing the NUM LOCK key sends the mapped keystroke to the host and turns the PC Num Lock state on or off. (The Num Lock indicater light also turns on or off each time you press the NUM LOCK key.)

    On Windows 2000 systems with non-USB keyboards, pressing the mapped NUM LOCK key repeatedly may result in a locked keyboard. Changing this property to false fixes this problem.

    See Also