편집

다음을 통해 공유


Page.KeepScrollBarsVisible Property (Outlook Forms Script)

Returns or sets an Integer that specifies whether scroll bars remain visible when not required. Read/write.

Syntax

expression.KeepScrollBarsVisible

expression A variable that represents a Page object.

Remarks

The settings for KeepScrollBarsVisible are:

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

If the visible region is large enough to display all the controls on an object such as a Page object, 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.

If the KeepScrollBarsVisible property is True, any scroll bar on a form or page is always visible, regardless of whether the object's contents fit within the object's borders.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.