Instance Property

verticalScroller

The scroll view’s vertical scroller.

Declaration

@property(strong) NSScroller *verticalScroller;

Discussion

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

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

See Also

Managing Scrollers

horizontalScroller

The scroll view’s horizontal scroller.

hasHorizontalScroller

A Boolean that indicates whether the scroll view has a horizontal 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.