hasVerticalScroller
A Boolean value that indicates if the combo box displays 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; when the value is false, it does not. The default value of this property is true. Note that the scroller is displayed even if the pop-up list contains fewer items than will fit in the area specified for display.
If you set this property to false and the combo box cell has more list items (either in its internal item list or from its data source) than are allowed by numberOfVisibleItems, only a subset are displayed. The NSComboBoxCell scroll... methods can be used to position this subset within the pop-up list.
See Also
Related Documentation
- Combo Box Programming Topics
scrollItemAtIndexToTop(_:)numberOfItemsscrollItemAtIndexToVisible(_:)