[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'StdCtrls' (#lcl)

# TCustomListBox.MultiSelect

Allows selection of more than one item from the list.

## Declaration

Source position: stdctrls.pp line 648

`public property TCustomListBox.MultiSelect : Boolean read FMultiSelect write SetMultiSelect default False;`

## Description

MultiSelect is a Boolean property which indicates if multiple values in Items can be selected using the Ctrl+Click mouse button, or by setting values in the indexed Selected property. When set to True, selection state is determined by reading / writing the cached item data for the Selected items in the widgetset class. When set to False, the value in ItemIndex is used to determine the selected item.

The default value for the property is False. Setting a new value for the property causes UpdateSelectionMode to be called to notify the widgetset class of the change.

## See also

TCustomListBox.ExtendedSelect |  | True when a contiguous range of items can be selected using Shift+Click. The default value is True.
TCustomListBox.Items |  | The list of all items defined in the control.
TCustomListBox.ItemIndex |  | Ordinal position for the currently selected item, -1 if none.
TCustomListBox.MultiSelect |  | Allows selection of more than one item from the list.
TCustomListBox.Selected |  | The Selected state for an item in the control.
TCustomListBox.SelectRange |  | Changes the selection state for a range of Items in the control.
TCustomListBox.DeleteSelected |  | Removes one or more selected entries from the Items property.
TCustomListBox.ClearSelection |  | Unselects all items in the control.