RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListBox.MultiSelect Property

Specifies whether the user can select more than one item.

Pascal
property MultiSelect: Boolean;
C++
__property Boolean MultiSelect;

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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!