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

Add an object to the list and sets the item to edit-mode.

Syntax
Pascal
function AddEditable(const Path: UnicodeString; Checked: Boolean = false): TJamFileListItem;
Parameters 
Description 
const Path: UnicodeString 
A path or dummy phrase that must be replaced. 
Checked: Boolean = false 
Pass true if the item should be initially checked; pass False if the item should be initially unchecked. The default vlaue is False. 

The newly added FileList item.

With this function you can add a file or folder to the list. An item is added and set to edit-mode directly, so the user can type a new path. If the parameter Checked is true, the passed path will be checked if Checkboxes are enabled.