Vcl.Controls.TCustomMultiSelectListControl.MultiSelect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MultiSelect: Boolean read FMultiSelect write SetMultiSelect default False;

C++

__property bool MultiSelect = {read=FMultiSelect, write=SetMultiSelect, default=0};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TCustomMultiSelectListControl

Description

Specifies whether the user can select more than one item.

Use MultiSelect to specify whether the user can select more than one item. When MultiSelect is true, the user can select multiple items in the control, and the SelCount property indicates the number of selected items. When MultiSelect is false, the user can only select one item, which is indicated by the ItemIndex property.

Note: To implement the MultiSelect property in a TCustomMultiSelectListControl descendant, override the protected SetMultiSelect method.

See Also

Code Examples