ListBox.AllowAutoHideScrollbars
From Xojo Documentation
Property (As Boolean )
aListBox.AllowAutoHideScrollBars = newBooleanValue
or
BooleanValue = aListBox.AllowAutoHideScrollBars
New in 2019r2
Supported for all project types and targets.
or
BooleanValue = aListBox.AllowAutoHideScrollBars
New in 2019r2
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 AllowAutoHideScrollbars is False, then inactive scrollbars are shown until they are needed to bring additional text into view. AllowAutoHideScrollbars can be set at design time or runtime.
Example
This example turns off AllowAutoHideScrollbars.