|
SmartViewport
Reference
Scrolls the viewport a determined amount of twips in a specific direction.
Syntax
object.Scroll (direction, value)
The Scroll method syntax has these parts:
| Part |
Description |
| object |
An object expression that evaluates to a SmartViewport object. |
| direction |
Required. A value or constant that determines the scroll direction
as described in Settings. |
| value |
Required. A value or constant that determines the amount of
twips to be scrolled. |
Settings
The settings for direction are:
| Setting |
Description |
| 0 |
The viewport will scroll vertically. |
| 1 |
The viewport will scroll horizontally. |
Remarks
When the scrollbars are visible you can force the viewport to scroll by using
method Scroll.
|