Sign in Join
FPDoc Onlineexperiment

TCustomListBox.MultiSelect property

Member of TCustomListBoxpublicIn unit StdCtrls

Allows selection of more than one item from the list.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.