DesktopListBox.HasHorizontalScrollbar

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aDesktopListBox.HasHorizontalScrollbar = newBooleanValue
or
BooleanValue = aDesktopListBox.HasHorizontalScrollbar

New in 2021r3

Supported for all project types and targets.

If True, adds a horizontal scrollbar to the DesktopListBox.

Notes

The horizontal scrollbar only appears if the sum of the widths of the columns exceeds the width of the ListBox itself. If the widths of the columns is less than (or matches) the width of the DesktopListBox, then no horizontal scrollbar appears.

The position of the thumb is indicated by ScrollPositionX. It is used to scroll the DesktopListBox horizontally without a separate DesktopScrollbar control.