GrapeCity SPREAD for Windows Forms 11.0J
FpScrollBarButtonCollection コンストラクタ()


Spreadスクロールバーボタンの新しいコレクションを作成します。
構文
'Declaration
 
Public Function New()
'使用法
 
Dim instance As New FpScrollBarButtonCollection()
public FpScrollBarButtonCollection()
次のサンプルコードは、コレクションを使用してスクロールバーにボタンを表示します。
FarPoint.Win.Spread.FpScrollBarButtonCollection buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection();
buttons.Add(new FarPoint.Win.Spread.FpScrollBarButtonBackwardLine());
buttons.Add(new FarPoint.Win.Spread.FpScrollBarComboThumb());
buttons.Add(new FarPoint.Win.Spread.FpScrollBarButtonForwardLine());
fpSpread1.VerticalScrollBar.Buttons = buttons;
Dim buttons As New FarPoint.Win.Spread.FpScrollBarButtonCollection
buttons.Add(New FarPoint.Win.Spread.FpScrollBarButtonBackwardLine())
buttons.Add(New FarPoint.Win.Spread.FpScrollBarComboThumb())
buttons.Add(New FarPoint.Win.Spread.FpScrollBarButtonForwardLine())
FpSpread1.VerticalScrollBar.Buttons = buttons
参照

FpScrollBarButtonCollection クラス
FpScrollBarButtonCollection メンバ
オーバーロード一覧

 

 


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