ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Controls.ExplorerBrowser.TJamExplorerBrowser.SelectItem

Selects the item at the position passed by index.

Syntax
Pascal
function SelectItem(pIndex: Integer; pAdd: Boolean = True): Boolean; override; overload;
Parameters 
Description 
pIndex: Integer 
The index of the item to be selected. Can also be JSC_ALL to select all items in the view.  
pAdd: Boolean = True 
If set to True the current selection is kept, else it is overwritten.  

True if the item was successfully selected or False otherwise.