# RemoveKeyMap

Use the RemoveKeyMap method to remove an assigned action from a mapped keyboard key. Learn its syntax and parameters in documentation.

## Content

This method allows you to remove an assigned action from a mapped keyboard key.

## Syntax

[JavaScript]

```javascript
FpSpread1.RemoveKeyMap(keycode,ctrl,shift,alt);
```

## Parameters

***keycode***
Integer, key being pressed
***ctrl***
Boolean, Control key
***shift***
Boolean, Shift key
***alt***
Boolean, Alt key

## Return Type

None

## Remarks

This method allows you to remove an action from a mapped key.

## Example

This is a sample that contains the method. On the client side, the script that contains the method would look like this:

```javascript
<script type="text/javascript">
   function setMap() {
       var ss = document.getElementById("FpSpread1");
       if (ss != null){
       ss.RemoveKeyMap(13,true,true,false);
   }
</script>
```

## See Also

[MoveToPrevRow](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-MoveToPrevRow)
[ScrollTo](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-ScrollTo)
[Scripting Members](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members)