ListBox.AutoHideScrollBars

From Xojo Documentation

Property (As Boolean )
aListBox.AutoHideScrollBars = newBooleanValue
or
BooleanValue = aListBox.AutoHideScrollBars

New in 2006r3

Supported for all project types and targets.

Controls whether scrollbars are shown when scrolling is not necessary to bring additional text into view. The default is True.

Notes

The vertical scroll does not appear until there are more items in the ListBox than can be viewed at once. If AutoHideScrollbars is False, then inactive scrollbars are shown until they are needed to bring additional text into view. AutoHideScrollbars can be set at design time or runtime.

Example

This example turns off AutoHideScrollbars.

Me.AutoHideScrollbars = False