Ribbon for WinForms
SetScrollPos メソッド (ScrollableControl)

C1.Win.4.8 アセンブリ > C1.Framework 名前空間 > ScrollableControl クラス : SetScrollPos メソッド
Specifies the new position of the scroll box. The position must be within the scrolling range.
Sets the position of the specified scroll bar.
シンタックス
'宣言
 
Protected Function SetScrollPos( _
   ByVal nBar As Integer, _
   ByVal pos As Integer _
) As Integer
protected int SetScrollPos( 
   int nBar,
   int pos
)

パラメータ

nBar
pos
Specifies the new position of the scroll box. The position must be within the scrolling range.

戻り値の型

The previous position of the scroll box indicates success. Zero indicates failure
参照

ScrollableControl クラス
ScrollableControl メンバ