Condividi tramite


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

Applies To: Grid Control

The Scrolled event is triggered after the DoScroll method.

See Also

Reference

Scrolled Event

Other Resources

Methods (Visual FoxPro)

Language Reference (Visual FoxPro)