ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Controls.DriveList.TJamDriveList.Add

Adds a drive or path to the drive list.

Syntax
Pascal
function Add(const Path: UnicodeString; Checked: Boolean = false; pPos: integer = -1): TJamFileListItem; override;
Parameters 
Description 
const Path: UnicodeString 
The path that sholud be added. 
Checked: Boolean = false 
Optional: Pass true if the item should be initially checked; pass False if the item should be initially unchecked. The default vlaue is False. 
pPos: integer = -1 
Currently not supported. 

The newly added FileList item or nil, if no item could have been added due to restrictions.

The method will return an existing item, if it is already available.