Chapter 19. Inputting Data with Sliders, Date Pickers, and Steppers
When you need to let the user choose from a limited list of options, radio buttons, check boxes, and pop-up buttons will work just fine. When you need to let the user type in data, a text field or combo box will be a better choice. However, if you want the user to select a numeric value, a predefined list of options may be too limited and clumsy, and forcing the user to type in a number might not work if you want to restrict the number to a specific range. In this case, you may want to use a horizontal, vertical, or circular slider.
A slider lets you define a minimum and maximum value so the user can choose any number in between by moving the slider up and down or left and right. ...
Get Mac Programming for Absolute Beginners now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.