Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.63 KB

keepscrollbarsvisible-property.md

File metadata and controls

52 lines (36 loc) · 1.63 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
KeepScrollBarsVisible property
fm20.chm5225048
fm20.chm5225048
Office.KeepScrollBarsVisible
e138df9f-5a8f-efcb-48db-9c8d22a7951f
11/16/2018
medium

KeepScrollBarsVisible property

Specifies whether scroll bars remain visible when not required.

Syntax

object.KeepScrollBarsVisible [= fmScrollBars ]

The KeepScrollBarsVisible property syntax has these parts:

Part Description
object Required. A valid object.
fmScrollBars Optional. Where scroll bars are displayed.

Settings

The settings for fmScrollBars are:

Constant Value Description
fmScrollBarsNone 0 Displays no scroll bars.
fmScrollBarsHorizontal 1 Displays a horizontal scroll bar.
fmScrollBarsVertical 2 Displays a vertical scroll bar.
fmScrollBarsBoth 3 Displays both a horizontal and a vertical scroll bar (default).

Remarks

If the visible region is large enough to display all the controls on an object such as a Page object or a form, scroll bars are not required. The KeepScrollBarsVisible property determines whether the scroll bars remain visible when they are not required.

If the scroll bars are visible when they are not required, they appear normal in size, and the scroll box fills the entire width or height of the scroll bar.

See also

[!includeSupport and feedback]