method XMLGrid.Scroll (Type as ScrollEnum, [ScrollTo as Variant])
Scrolls the control's content.

TypeDescription
Type as ScrollEnum A ScrollEnum expression that indicates type of scrolling being performed.
ScrollTo as Variant A long expression that indicates the position where the control is scrolled when Type is exScrollVTo or exScrollHTo. If the ScrollTo parameter is missing, 0 value is used.
Use the Scroll method to scroll the control's content by code. Use the Scrollbars property specifies which scroll bars will be visible on the control. Use the EnsureVisibleNode method to ensure that a specified node fits the control's client area.