ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamControls.TJamCustomFileList.Add

Adds a file or folder to the list.

Syntax
Pascal
function Add(const pPath: UnicodeString; pChecked: Boolean = false; pPos: integer = -1): TJamFileListItem; virtual; overload;
Parameters 
Description 
const pPath: UnicodeString 
The path of the file or folder that should be added. 
pChecked: Boolean = false 
Pass true if the added file should be checked initially. 
pPos: integer = -1 
Pass a valid list index to insert the item 

TJamFileListItem: The newly created item