Share via


KeepScrollBarsVisible Property [Outlook 2003 Forms Help]

Specifies whether scroll bars remain visible when not required.

Syntax

object.KeepScrollBarsVisible [=ScrollBars]

The KeepScrollBarsVisible property syntax has these parts:

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

Settings

The settings for ScrollBars 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).

Remarks

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.

Applies to | Frame control | Page Object