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


選択範囲を先頭の行まで拡張します。
構文
'Declaration
 
Public Shared ReadOnly ExtendToFirstRow As Object
'使用法
 
Dim value As Object
 
value = SpreadActions.ExtendToFirstRow
public static readonly object ExtendToFirstRow
次のサンプルコードは、選択範囲を先頭の行まで拡張するのに[X]キーを使用するマップを設定します。
FarPoint.Win.Spread.InputMap im;
im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
im.Put(New FarPoint.Win.Spread.Keystroke(Keys.X, Keys.None), FarPoint.Win.Spread.SpreadActions.ExtendToFirstRow);
Dim im As FarPoint.Win.Spread.InputMap
im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
im.Put(New FarPoint.Win.Spread.Keystroke(Keys.X, Keys.None), FarPoint.Win.Spread.SpreadActions.ExtendToFirstRow)
解説

このアクションは、選択範囲をシートの一番上の行まで拡張します。

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

参照

SpreadActions クラス
SpreadActions メンバ

 

 


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