Export (0) Print
Expand All
Expand Minimize

Scroll method

Scroll method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

https://msdn.microsoft.com/en-us/library/aa188442(v=office.10) See also         Example         https://msdn.microsoft.com/en-us/library/aa141210(v=office.10) Applies to

Scrolls the contents of a window vertically, horizontally, or both.

Version added

2000

Syntax

object.Scroll (longFlagsX, longFlagsY)

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.



If the Window object is not a built-in MDI or built-in docked stencil type, then the Scroll method raises an exception.

Show:
© 2015 Microsoft