GrapeCity SPREAD for Windows Forms 11.0J
MoveToNextRowWrap フィールド


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

このアクションは、フォーカスをシートの同じ列の次の行のセルに移動します。列の終わりに達したら、折り返して次の列の先頭のセルに移動します。

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

参照

SpreadActions クラス
SpreadActions メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.