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


Removes the mapping for the specified key stroke.
Overload List
OverloadDescription
Remove(Keystroke)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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

InputMap Class
InputMap Members

 

 


Copyright © GrapeCity, inc. All rights reserved.