O'Reilly logo

Windows XP in a Nutshell, Second Edition by Troy Mott, Tim O'Reilly, David A. Karp

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

Name

Listboxes

Synopsis

A listbox is a list of items from which you can choose one or many. There are four common types of listboxes:

Standard listbox

A simple listbox is a rectangular control that contains one or more entries. If there are more entries than can be displayed in the space allotted, scrollbars will appear as well. Click an entry to select it. If the listbox allows multiple items to be selected simultaneously, hold down the Ctrl key while clicking or pressing the spacebar to select additional items, one-by-one, or use Shift-click to select a range of items (see Figure 3-13).

This listbox shows the bitmap files in your Windows folder, from which you can choose one to be your Desktop background image

Figure 3-15. This listbox shows the bitmap files in your Windows folder, from which you can choose one to be your Desktop background image

Use the arrow keys to move up and down the list. Type a letter to jump to the first entry that begins with that letter; if there are a lot of items, you can type several letters, quickly in succession, to jump to the first item that begins with those letters.

Drop-down listbox

A drop-down listbox (see Figure 3-14) works much like a standard listbox, except that only the currently selected entry is shown. Click the down arrow to open the list and choose another item. Drop-down listboxes never allow multiple selections.

Drop-down listboxes work much like standard listboxes, except that they consume less screen real estate

Figure 3-16. Drop-down listboxes work much like standard ...

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