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


最後の行が表示されるまでスクロールします。
構文
'Declaration
 
Public Shared ReadOnly ScrollToLastRow As Object
'使用法
 
Dim value As Object
 
value = SpreadActions.ScrollToLastRow
public static readonly object ScrollToLastRow
次のサンプルコードは、このシートの最後の行へのスクロールに[S]キーを使用するマップを設定します。
FarPoint.Win.Spread.InputMap im;
im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
im.Put(New FarPoint.Win.Spread.Keystroke(Keys.S, Keys.None), FarPoint.Win.Spread.SpreadActions.ScrollToLastRow);
Dim im As FarPoint.Win.Spread.InputMap
im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
im.Put(New FarPoint.Win.Spread.Keystroke(Keys.S, Keys.None), FarPoint.Win.Spread.SpreadActions.ScrollToLastRow)
解説

このアクションは、シートの一番下の行が表示されるまでスクロールします。

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

参照

SpreadActions クラス
SpreadActions メンバ

 

 


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