[]
        
(Showing Draft Content)

C1.Framework.ScrollableControl.SetScrollPos

SetScrollPos Method

SetScrollPos(int, int)

Sets the position of the specified scroll bar.

Declaration
protected int SetScrollPos(int nBar, int pos)
Parameters
Type Name Description
int nBar
int pos

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

Returns
Type Description
int

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