Selection
Selection
Specifies the user selection type to be used by the list box
Enumerated type, possible values are:
Single | |
---|---|
Multiple | |
Extended |
Applies to: List Box
This property is used to set the the selection type used by a list box. Available types are as follows:
Single
Allows only one item to be selected at a time. As each new item is selected previously selected items are deselected.
Multiple
Allows any number of strings to be selected within the list box. A selection is made by mouse clicking, de-selection by double clicking.
Extended
Allows the user to select multiple consecutive items in a list box by dragging the mouse down the list. Additional items can be selected by holding down the control key.
This property is a design time only property that has no effect if changed under program control.