FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > Keystroke 構造体 > Keystroke コンストラクタ : Keystroke コンストラクタ(Keys,Keys,Boolean) |
'Declaration Public Function New( _ ByVal keyCode As Keys, _ ByVal modifiers As Keys, _ ByVal onKeyRelease As Boolean _ )
FarPoint.Win.Spread.Keystroke k = new FarPoint.Win.Spread.Keystroke(Keys.C, Keys.None, false); FarPoint.Win.Spread.InputMap im; im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused); im.Put(k, FarPoint.Win.Spread.SpreadActions.CancelEditing);
Dim k As New FarPoint.Win.Spread.Keystroke(Keys.C, Keys.None, False) Dim im As FarPoint.Win.Spread.InputMap im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused) im.Put(k, FarPoint.Win.Spread.SpreadActions.CancelEditing)