DoScroll Method

Applies To   See Also

Scrolls the Grid control to simulate a user clicking the scroll bars.

Syntax

Grid.DoScroll(nDirection)

Arguments

nDirection

The settings for nDirection are:

Scroll command Scroll action
0 Scroll up
1 Scroll down
2 Scroll page up
3 Scroll page down
4 Scroll left
5 Scroll right
6 Scroll page left
7 Scroll page right

Remarks

The Scrolled event is triggered after the DoScroll method.