ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellControls.TJamShellList.Selected

Indicates the first selected item in the list view.

Syntax
Pascal
property Selected: TJamShellListItem;

Read Selected to access the properties of the first selected item in the list. If SelCount is 0, Selected is nil (Delphi). If SelCount is greater than 1, subsequent selected items can be located by checking the Selected property of the items found using the GetNextItem method.  

Set the Selected property to select an item in the list. If MultiSelect is true, setting Selected adds an item to the selection. If MultiSelect is false, setting Selected changes the selection. Setting Selected to nil (Delphi) deselects all items in the list.  

When an item is selected, the OnChanging and OnChange events are generated.