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


選択範囲をデータを含む最後の列まで拡張します。
構文
'Declaration
 
Public Shared ReadOnly ExtendToLastColumnWithData As Object
'使用法
 
Dim value As Object
 
value = SpreadActions.ExtendToLastColumnWithData
public static readonly object ExtendToLastColumnWithData
次のサンプルコードは、選択範囲をデータを含む最後の列まで拡張するのに[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.ExtendToLastColumnWithData);
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.ExtendToLastColumnWithData)
解説

このアクションは、選択範囲をシートのデータを含む一番右の列まで拡張します。

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

参照

SpreadActions クラス
SpreadActions メンバ

 

 


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