Contents

hasVerticalScroller

A Boolean value indicating whether the combo box has a vertical scroller.

Declaration

var hasVerticalScroller: Bool { get set }

Discussion

When the value of this property is true, the combo box displays a vertical scroller even when the pop-up list contains few enough items that a scroller is not needed. The default value of this property is true.

If the value of this property is false and the combo box has more list items (either in its internal item list or from its data source) than are allowed by numberOfVisibleItems, only a subset of items are displayed. The NSComboBox class’ scroll... methods can be used to position this subset within the pop-up list.

See Also

Related Documentation

Setting Display Attributes