O'Reilly logo

Mac Programming for Absolute Beginners by Wallace Wang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required