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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2