<div class="meta" robots="noindex">

</div>

# ListBox.ScrollBarHorizontal

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `DesktopListBox.HasHorizontalScrollbar<desktoplistbox.hashorizontalscrollbar>` as a replacement.

</div>

## Description

If `True</api/language/true>`, adds a horizontal scroll bar to the ListBox.

## 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 ListBox, then no horizontal scrollbar appears.

The position of the thumb is indicated by ScrollPositionX. It is used to scroll the ListBox horizontally without a separate `Scrollbar</api/deprecated/scrollbar>` control.

## Compatibility

All projects types on all supported operating systems.
