InputPanel for WinForms | ComponentOne
C1.Win.C1InputPanel.4.8 Assembly / C1.Win.C1InputPanel Namespace / C1InputPanelBase Class / SetScrollPos Method
Specifies the new position of the scroll box. The position must be within the scrolling range.

In This Topic
    SetScrollPos Method (C1InputPanelBase)
    In This Topic
    Sets the position of the specified scroll bar.
    Syntax
    'Declaration
     
    Protected Function SetScrollPos( _
       ByVal nBar As Integer, _
       ByVal pos As Integer _
    ) As Integer
    protected int SetScrollPos( 
       int nBar,
       int pos
    )

    Parameters

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

    Return Value

    The previous position of the scroll box indicates success. Zero indicates failure
    See Also