Spread Windows Forms 11.0 Product Documentation
Remove Method (InputMap)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > InputMap Class : Remove Method
Removes the mapping for the specified key stroke.
Overload List
OverloadDescription
Removes the mapping for the specified key stroke.  
Example
This example removes the mapping for the specified keystroke.
FarPoint.Win.Spread.InputMap im = new FarPoint.Win.Spread.InputMap();
FarPoint.Win.Spread.Keystroke k = new FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None);
im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
im.Remove(k);
Dim im As New FarPoint.Win.Spread.InputMap()
Dim k As New FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None)
im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
im.Remove(k)
See Also

Reference

InputMap Class
InputMap Members