ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamSelectionList.TJamSelectionList

Manages the list of selected paths.

JamSelectionList_TJamSelectionListJamSelectionList_TJamSelectionList
Syntax
Pascal
TJamSelectionList = class(TJamBaseSelectionList);

This class is used as a property of the JamShellLink component for managing the list of selected paths that the user selects with shell controls that have the CheckBoxes property set to True. You can modify the list using the AddPathToSelection and RemovePathFromSelection method. You can save or load the list using the SaveToIniFile and LoadFromIniFile methods. You can access the list of selected paths using the Paths property, which is of type TStrings and so inherits the typical methods like GetText, SaveToFile, Clear etc. With FindNext you can enumerate the files of the current selection.

 
Name 
Description 
 
Creates and intializes an instance of this component.  
 
Destroys an instance of a TJamBaseSelectionList component  
JamSelectionList.TJamSelectionList
 
Name 
Description 
 
Creates an instances of a TJamSelectionList component.  
 
Creates an cloned instances of a TJamSelectionList component.  
 
Destroys an instance of a TJamSelectionList component  
 
Name 
Description 
 
This is event is fired if an invlaid path was supposed to be added to the list. 
 
Name 
Description 
 
This procedure adds a path to the list of selected paths.  
 
 
Clears list of paths. 
 
Returns true if the list is empty. 
 
With this procedure you can load an existing selection list from an ini file. You may pass the section name as second parameter. 
 
Use this procedure to remove an item from a selection list.  
 
Save the selection list to an INI-file.  
JamSelectionList.TJamSelectionList
 
Name 
Description 
 
This procedure adds a path to the list of selected paths.  
 
Adds an ItemIdList to the selection.  
 
Prevents updating of connected shell controls until EndUpdate method is called.  
 
Converts a boolean value to a selection state.  
 
Call clear to switch all checkboxes of all connection shell controls to the state ssUnchecked.  
 
Returns smallest complete selected path. 
 
Returns smallest complete selected path as ItemIdList. 
 
Creates a new empty file.  
 
Reenables screen repainting of connected shell controls that was turned off with the BeginUpdate method.  
 
Builds a wrapper arround the FindFirstFileW function, but uses the long file name pre fix, So that also files with a full file name longer than 255 chars could be found.  
 
Enumerates all files of the current selection.  
 
Ensure that all directories in the given path exist.  
 
 
 
Returns the parent path of the given path. 
 
The Unicode versions of several functions permit a maximum path length of approximately 32,000 characters composed of components up to 255 characters in length. To specify that kind of path, use the "\?"("\?UNC" for UNC-Path) prefix. This function prepares the path with the correct prefix.  
 
Checks is the given path is a file in the file system. 
 
Checks is the given path is a file system folder. 
 
Checks if the given object should be ignored when enumerating a directory. 
 
Retrieves the TJamSelectionState of the passed path.  
 
Checks if given ItemIdList is part of the selection.  
 
Searches the path in the selected files and if found, replaces it by its new name.  
 
Remove item from selection list using the full qualified path.  
 
Removes the item that belongs to the given ItemIdList from selection list. 
 
Reset enumeration of all files of the current selection.  
 
Returns a string with all paths in the selection list.  
 
Name 
Description 
 
The number of selected paths.  
 
Use this property to get the total number of selected files.  
 
Use this property to get the total number of selected folders.  
 
Occurs, if the selection has changed.  
 
The parent component of this instance. 
 
Gives back the filename of an item.  
 
List of the selected files.  
 
Use this function to get back the total size of the selected files.  
JamSelectionList.TJamSelectionList
 
Name 
Description 
 
Controls whether the size and count of the selected files is calculated.  
 
Returns true, if files on different drives are selected.  
 
Set to True if reparse Points (e.g. symblic links) should be followed; Se to False if they should be ignroed.  
 
Decide, if the component should follow the link to the file.  
 
Returns true, if files on local drives are selected.  
 
Returns true, if files on UNC paths are selected.  
 
Occurs, when the thread, which calculates the count and size of the selected files and folders, has terminated.  
 
If set to True (the default value), non-existing paths will not be ignored and not added to the list.