[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Forms' (#lcl)

# TScrollingWinControl.HorzScrollBar

The horizontal scroll bar for the control.

## Declaration

Source position: forms.pp line 207

`published property TScrollingWinControl.HorzScrollBar : TControlScrollBar read FHorzScrollBar write SetHorzScrollBar;`

## Description

HorzScrollBar is a TControlScrollBar property with the horizontal scroll bar for the scrolling window control. The scroll bar is displayed for the control when its Visible property is True, or when Width is larger than the ClientWidth for the control and AutoScroll is enabled.

## See also

TScrollingWinControl.AutoScroll |  | Indicates whether scroll bars are automatically displayed or hidden when needed.
TScrollingWinControl.AutoScrollEnabled |  | Indicates if automatic scrolling is enabled for the control.
TControlScrollBar.Visible |  | Hides the scroll bar when False (default True).
TControl.ClientWidth |  | The width of the client area for the control.
TControl.Width |  | The horizontal size for the control.