ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
TJamSelectionList Class

Manages the list of selected paths.

TJamSelectionListTJamSelectionList
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 an instances of a TJamBaseSelectionList component  
 
Destroys an instance of a TJamBaseSelectionList component  
TJamSelectionList Class
 
Name 
Description 
 
Creates an instances of a TJamSelectionList component  
 
Creates an instances of a TJamSelectionList component  
 
Destroys an instance of a TJamSelectionList component  
 
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.  
 
The parent component of this instance. 
 
Path 
Gives back the filename of an item.  
 
Size 
Use this function to get back the total size of the selected files.  
 
This procedure adds a path to the list of selected paths.  
 
This is Assign, a member of class TJamBaseSelectionList. 
 
Clears list of paths. 
 
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.  
TJamSelectionList Class
 
Name 
Description 
 
Controls whether the size and count of the selected files is calculated.  
 
Returns true, if files on different drives are selected.  
 
This is FollowReparsePoint, a member of class TJamSelectionList. 
 
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.  
 
If set to True (the default value), non-existing paths will not be ignored and not added to the list.  
 
This procedure adds a path to the list of selected paths.  
 
This is AddPIDLToSelection, a member of class TJamSelectionList. 
 
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 
 
Reenables screen repainting of connected shell controls that was turned off with the BeginUpdate method.  
 
This is FindFirstFile, a member of class TJamSelectionList. 
 
Enumerates all files of the current selection.  
 
This is GetListOfAllFiles, a member of class TJamSelectionList. 
 
This is GetParentPathFromPath, a member of class TJamSelectionList. 
 
Checks is the given path is a file in the file system. 
 
Checks is the given path is a file system folder. 
 
Checks if item is in the selection.  
 
This is IsPIDLSelected, a member of class TJamSelectionList. 
 
Searches the path in the selected files and if found, replaces it by its new name.  
 
Remove item from selection list via full qualified path.  
 
This is RemovePIDLFromSelection, a member of class TJamSelectionList. 
 
Reset enumeration of all files of the current selection.  
 
Name 
Description 
 
Occurs, if the selection has changed.  
 
This is event is fired if an invlaid path was supposed to be added to the list. 
 
List of the selected files.  
TJamSelectionList Class
 
Name 
Description 
 
Occurs, when the thread, which calculates the count and size of the selected files and folders, has terminated.  
Copyright (c) 2011. All rights reserved.