Scroll method
Scrolls the contents of a window vertically, horizontally, or both.
Version added
2000
Syntax
| |
|
object |
Required. An expression that returns a Window object. |
|
longFlagsX |
Required Long. Indicates how to scroll horizontally. |
|
longFlagsY |
Required Long. Indicates how to scroll vertically. |
Remarks
Constants representing ways to scroll are declared by the Visio type library in VisWindowScrollX and VisWindowScrollY.
|
Constant |
Value |
|
visScrollLeft |
0 |
|
visScrollRight |
1 |
|
visScrollLeftPage |
2 |
|
visScrollRightPage |
3 |
|
visScrollToLeft |
6 |
|
visScrollToRight |
7 |
|
visScrollNoneX |
9 |
|
Constant |
Value |
|
visScrollUp |
0 |
|
visScrollDown |
1 |
|
visScrollUpPage |
2 |
|
visScrollDownPage |
3 |
|
visScrollToTop |
6 |
|
visScrollToBottom |
7 |
|
visScrollNoneY |
9 |
If the Window object is not a built-in MDI or built-in docked stencil type, then the Scroll method raises an exception.
Values of longFlagsX