RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.SelCount Property

Specifies the number of selected items in the list view.

Pascal
property SelCount: Integer;
C++
__property int SelCount;

Read SelCount to determine the number of items that are currently selected. When SelCount is 1, use the Selected property to access the selected item. To locate the selected items when SelCount is greater than one, check the Selected property of the list items, beginning with the item specified by the Selected property.

Note: SelCount can only exceed 1 if the MultiSelect property is true.
 

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