Chapter 9: A Penny for Your Thoughts: Getting User Input

Have you wondered, "What were they thinking?!" This is your chance to find out! Along with fancy displays and cool sounds, the long list of ActiveX controls includes lots of tools for getting information from visitors to your pages.

What You Need

For this, chapter and most of the following chapters, you should have the Microsoft Control Pad installed on your system. To install Control Pad though, you must have the latest version of Internet Explorer. Here a shopping list of items:

A Smattering of User Input Controls

CheckBox

Example
CheckBox controls display as small boxes with check marks.

ComboBox

Example
CheckBox controls display as small boxes with check marks.

ListBox

Example
The ListBox control offers users a choice of one (or more) items from a list.

OptionButton

Example
Option buttons are similar to CheckBoxes, and work well as radio buttons.

Popup

Example
Pop goes the menu! Give your users choices without using valuable screen real estate.

SpinButton

Example
Spinning to the oldies! Usually the SpinButton is used along with another control, since SpinButtons don't display their own value.

TextBox

Example
The TextBox control is miniature editor that you can include in your pages. If you want users to enter free-form text, then you can insert a TextBox into your pages.

ToggleButton

Example
If you think the world is black and white, you'll love the ToggleButton control.