Parameters
- keyCode
- Key code defined by this keystroke
- modifiers
- Modifier keys defined by this keystroke
Return Value
This constructor initializes a new Keystroke object with a specified a key code and modifier keys.
FarPoint.Win.Spread.Keystroke k = new FarPoint.Win.Spread.Keystroke(Keys.C, Keys.None);
FarPoint.Win.Spread.InputMap inmap ;
inmap = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
inmap .Put(k, FarPoint.Win.Spread.SpreadActions.CancelEditing);
Dim k As New FarPoint.Win.Spread.Keystroke(Keys.C, Keys.None) Dim inmap As FarPoint.Win.Spread.InputMap inmap = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused) inmap.Put(k, FarPoint.Win.Spread.SpreadActions.CancelEditing)