Compartilhar via


DoScroll Method

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

Grid.DoScroll(nDirection)

Parameters

  • 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.

See Also

Scrolled Event

Applies To: Grid