where expression is a variable that represents a KeyboardMapper Object
Parameters
- key
- The Keys enumeration value that specifies the key sequence to remove the mapping for.
Sub removeKeyboardMapping() Dim kbmapping As KeyboardMapping Dim sequence As InputMapActionSequence Dim action As InputMapAction Dim path As String path = Environ$("USERPROFILE") & "\Documents\Micro Focus\InfoConnect\Keyboard Maps\" & "myKeyboardMap.xkb" Set kbmapping = New KeyboardMapping 'Assign the Ctrl+B key combination to a key kbmapping.key = Keys_Control + Keys_B 'Remove the new mapping from the session keyboard map ThisIbmTerminal.KeyboardMapper.RemoveMapping kbmapping.key 'Save the keyboard map ThisIbmTerminal.KeyboardMapper.SaveAs (path) End Sub