Spread for ASP.NET 7.0 Product Documentation
RemoveKeyMap
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > RemoveKeyMap

Glossary Item Box

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

Syntax

[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 Copy Code
<SCRIPT language=javascript>
   function setMap() {
       var ss = document.getElementById("FpSpread1");
       if (ss != null){
       ss.RemoveKeyMap(13,true,true,false);
   }
</SCRIPT>

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.