[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Unselects all items in the control.
Source position: stdctrls.pp line 617
public procedure TCustomListBox.ClearSelection; |
ClearSelection is a procedure used to clear one or more selected items in the control. When MultiSelect is enabled, values in the Selected property are reset to False. Otherwise, the ItemIndex property is set to -1 to indicate that no item is selected in the control.
|
The list of all items defined in the control. |
|
|
Ordinal position for the currently selected item, -1 if none. |
|
|
The Selected state for an item in the control. |
|
|
Changes the selection state for a range of Items in the control. |
Version 4.0 | Generated 2025-05-03 | Home |