[Overview][Constants][Types][Classes][Procedures and functions][Index] |
The number of selected items in the list.
Source position: stdctrls.pp line 677
public property TCustomListBox.SelCount : Integer |
SelCount is a read-only Integer property which contains the number of Items selected in the list box control. The return value is the result returned by the GetSelCount method in the widgetset class, or 0 (zero) when a handle has not been allocated for the control. SelCount is significant when the MultiSelect property is enabled.
Use Selected to read or write the selected state for a single value defined in the Items for the control.
Use SelectRange to set the selected state for Items in a specified range of positions.
Use SelectAll to select all Items in the control.
Use ClearSelection to remove all item selections in the control.
|
The Selected state for an item in the control. |
|
|
Changes the selection state for a range of Items in the control. |
|
|
Selects all items in the list (in ExtendedSelect mode). |
|
|
Unselects all items in the control. |
|
|
Allows selection of more than one item from the list. |
|
|
True when a contiguous range of items can be selected using Shift+Click. The default value is True. |