MESCIUS SPREAD for Windows Forms 15.0J
MoveToNextPageOfRows フィールド
使用例 

アクティブセルを1ページ分下の行に移動します。
構文
'宣言
 
Public Shared ReadOnly MoveToNextPageOfRows As Object
public static readonly object MoveToNextPageOfRows
使用例
次のサンプルコードは、アクティブセルを1ページ分下の行に移動するのに[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.MoveToNextPageOfRows);
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.MoveToNextPageOfRows)
解説

このアクションは、フォーカスをシートの同じ列の次ページの行のセルに移動します。

このアクションにデフォルトで割り当てられているキーの組み合わせは、[PageDown]キーです。

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

参照

SpreadActions クラス
SpreadActions メンバ

 

 


© MESCIUS inc. All rights reserved.