Instance Property

horizontalScroller

The scroll view’s horizontal scroller.

Declaration

@property(strong) NSScroller *horizontalScroller;

Discussion

The value of this property is nil if the scroll view has no horizontal scroller.

You can access the horizontal scroller using this property even if the scroll view isn’t currently displaying it. To make sure the scroller is visible, set hasHorizontalScroller to YES.

See Also

Managing Scrollers

hasHorizontalScroller

A Boolean that indicates whether the scroll view has a horizontal scroller.

verticalScroller

The scroll view’s vertical scroller.

hasVerticalScroller

A Boolean that indicates whether the scroll view has a vertical scroller.

autohidesScrollers

A Boolean that indicates whether the scroll view automatically hides its scroll bars when they are not needed.