Share via


Window.ScrollLock Property

Visio Automation Reference

Determines whether scrolling is disabled in a Microsoft Office Visio window. Read/write.

Version Information
 Version Added:  Visio 2003

Syntax

expression.ScrollLock

expression   A variable that represents a Window object.

Return Value
Boolean

Remarks

Scrolling (False) is the default Visio behavior. You can set the ScrollLock property to True to prevent scrolling in any Visio window, including docked stencil windows, but not including anchored windows.

The ScrollLock property setting is valid only for a given window at run time, and is not persisted (saved) in either the Visio document or the registry.

See Also