property Tree.ScrollPos(Vertical as Boolean) as Long
Specifies the vertical/horizontal scroll position.

TypeDescription
Vertical as Boolean A boolean expression that specifies the scrollbar being requested. True indicates the Vertical scroll bar, False indicates the Horizontal scroll bar.
Long A long expression that defines the scroll bar position.
Use the ScrollPos property to change programmatically the position of the control's scroll bar. Use the ScrollPos property to get the horizontal or vertical scroll position.Use the ScrollBars property to define the control's scroll bars. Use the Scroll method to scroll programmatically the control's content. The control fires the OffsetChanged event when the control's scroll position is changed. Use the ScrollButtonClick event to notify your application that the user clicks a button in the control's scrollbar.