Chapter 16. Making Choices with Radio Buttons and Check Boxes
Buttons let the user choose a single command. However, many times, you may need to present the user with several options. You could display multiple buttons, where each button represents a single option, but this could look cluttered and messy. A more compact solution is to use radio buttons and check boxes.
Both options let you display choices to the user and provide visual feedback so the user knows which options they have selected. Radio buttons and check boxes act as a way to input data into the computer and also offer a limited way to display information back to the user.
The main difference between the two is that when a program displays a group of radio buttons, the user can select ...
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.