Share via


ScrollLock Property [Visio 2003 SDK Documentation]

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

boolRet = object.ScrollLock

object.ScrollLock = boolValue

boolRet    Boolean. True if scrolling is disabled in the current window; False if it is enabled, the default.

object    Required. An expression that returns a Window object.

boolValue    Required Boolean. True to prevent scrolling in the current window; False to allow it.

Version added

2003

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.

Applies to | Window object