PowerTools SPREAD for Windows Forms 8.0J
MoveToPreviousSheet フィールド


アクティブセルを前のシートに移動します。
構文
'Declaration
 
Public Shared ReadOnly MoveToPreviousSheet As Object
'使用法
 
Dim value As Object
 
value = SpreadActions.MoveToPreviousSheet
public static readonly object MoveToPreviousSheet
次のサンプルコードは、アクティブセルをワークブックの前のシートに移動するのに[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.MoveToPreviousSheet);
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.MoveToPreviousSheet)
 
解説

このアクションは、フォーカスをワークブックの前のシートのアクティブセルに移動します。このセルは、開始シート内のセルと同じとは限りません。

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

参照

SpreadActions クラス
SpreadActions メンバ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.