Parameters
- key
- Specified keyboard key
This example removes the keys for the map.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.ActionMap map; map = fpSpread1.GetActionMap(); object[] keys = map.AllKeys; foreach (object key in keys) { map.Remove(key); } listBox1.Items.Add(key); |
Visual Basic | Copy Code |
---|---|
Dim map As FarPoint.Win.Spread.ActionMap map = FpSpread1.GetActionMap() Dim keys As Object() = map.AllKeys() Dim key As Object For Each key In keys map.Remove(key) Next ListBox1.Items.Add(key) |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8