GrapeCity SPREAD for Windows Forms 12.0J
None フィールド (SpreadActions)


ナビゲーションツールとビュー
アクションを実行しません。 このフィールドは読み取り専用です。
構文
public static readonly object None
'Declaration
 
Public Shared ReadOnly None As Object
 
'使用法
 
Dim value As Object
 
value = SpreadActions.None
次のサンプルコードは、[M]キーが押されたときに何もアクションを実行しません。
FarPoint.Win.Spread.InputMap im;
im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
im.Put(New FarPoint.Win.Spread.Keystroke(Keys.M, Keys.None), FarPoint.Win.Spread.SpreadActions.None);
Dim im As FarPoint.Win.Spread.InputMap
im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
im.Put(New FarPoint.Win.Spread.Keystroke(Keys.M, Keys.None), FarPoint.Win.Spread.SpreadActions.None)
解説

独自の入力マップまたはアクションマップを定義することにより、このアクションをカスタムのキーの組み合わせに対応付けることができます。マップの詳細については、「キーボード操作」を参照してください。

参照

SpreadActions クラス
SpreadActions メンバ

 

 


Copyright © 2004 GrapeCity inc.