Explain the selection options that can be controlled by setting the SelectionMode property of a ListBox.

What will be an ideal response?


With a ListBox, you allow the user to make a single selection or multiple selections by setting the SelectionMode property appropriately. For example, when the SelectionMode property is set to One, the user can make only a single selection from the ListBox. When the SelectionMode is set to MultiExtended, pressing Shift and clicking the mouse or pressing Shift and one of the arrow keys (up, down, left, or right) extends the selection to span from the previously selected item to the current item. Pressing Ctrl and clicking the mouse selects or deselects an item in the list. When the SelectionMode is set to MultiSimple, multiple items can be selected by clicking the mouse or pressing the spacebar. When the SelectionMode is set to None, no items can be selected.

Computer Science & Information Technology

You might also like to view...

For the following Web page, list all of the objects and actions

Computer Science & Information Technology

Which of the following attacks installs a key logger on the victim's system in an attempt to collect usernames and passwords?

A. IP spoofing attack B. Denial-of-service attack C. Rogue code attack D. Emanation eavesdropping attack

Computer Science & Information Technology

A transform file utilizes what file name extension?

A. .msi B. .tra C. .mst D. .mod

Computer Science & Information Technology

Which feature of RISC CPUs allows the processor to operate on one instruction at the same time it is fetching one or more subsequent instructions?

A. caching B. CPU scheduling C. coprocessing D. pipelining

Computer Science & Information Technology