ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellLink.TJamShellLink

Component that allows to synchronize the view of multiple shell controls.

ShellLink_TJamShellLinkShellLink_TJamShellLinkShellLink_TJamShellLink
Syntax
Pascal
TJamShellLink = class(TJamBaseComponent, IJamShellHistory);

This component is able to synchronize several of the visual shell components, e.g. JamShellTree, JamShellList and JamShellCombo. Just drop a JamShellLink component to this form and assign the ShellLink property of all shell components to the ShellLink component. You can refresh all connected shell controls by using the TJamShellLink.Refresh method. You can disable a ShellLink component temporarily by using the Enabled property. 

If you want to use CheckBoxes in a JamShellTree or JamShellList, that must be connected to a JamShellLink. The ShellLink will synchronize the selected files and folder in the different shell controls. 

The JamShellLink class implements the TJamShellLink interface. In Delphi/C++Builder, the ShellLink can be assigned to the corresponding components during design time in the Object Inspector. 

The assign of the JamShellLink is equivalent to all other components, which have a ShellLink property, e.g. JamFileList and JamThumbnailImage.

ShellLink.TJamBaseComponent
 
Name 
Description 
 
Creates and intializes an instance of this component.  
 
ShellLink.TJamShellLink
 
Name 
Description 
 
Creates an instance of a TJamShellLink component. 
 
Destroys the instance of a JamShellLink component. 
ShellLink.TJamShellLink
 
Name 
Description 
 
This event will be triggered whenever the connected controls will be informed about a new active folder. 
 
Occurs when navigating to a folder. You can intercept navigation by setting the Cancel parameter in the event arguments.  
 
This event will be triggered whenever the connected controls will be informed about a selected subelement, i.e. an element in a TJamShellList
 
Name 
Description 
 
Adds a visited folder to the list.  
 
Clears the history of visited folders.  
 
Gets the count of visited folders.  
 
Gets the current folder ItemIdList.  
 
Gets the current position in history of visited folders.  
 
Checks if a move is possible.  
 
Moves back in history of visited folders.  
 
Moves forward in history of visited folders.  
 
Sets the current position in history of visited folders.  
ShellLink.TJamShellLink
 
Name 
Description 
 
Use this function to check if navigating the passed ItemIdList is allowed. It currently calls the cancellable OnNavigating event, that can be implemented to prohibit paths.  
 
Clears the history of visited folders.  
 
This public method is used by the connected controls for synchronization. 
 
Call method, when a new filter shall be updated in linked controls that support filters.  
 
Goes up one level in the file system structure. 
 
For internal use only.  
 
Checks if a move is possible.  
 
Moves back in history of visited folders.  
 
Moves forward in history of visited folders.  
 
This public method is used by the connected controls for synchronization.  
 
Refreshes the information displayed in all controls connected with this JamShellLink except the passed control, which usually will be the caller. 
 
Refreshes the information displayed in all controls connected with this JamShellLink. 
 
Registers the control for update notifications.  
 
Selects all items in the connected controls. 
 
Selects all items in the connected controls.  
 
Unregisters the control. No more notifications will be received by the control.  
 
Name 
Description 
 
Gets the count of visited folders.  
 
Gets the current folder ItemIdList.  
 
Gets or sets the current position in history of visited folders.  
ShellLink.TJamBaseComponent
 
Name 
Description 
 
Indicates whether the component is enabled or not. 
 
Returns the version of the ShellBrowser components. 
ShellLink.TJamShellLink
 
Name 
Description 
 
Gets the count of visited folders.  
 
Contains the absolute ItemIdList of the file that is currently selected in the connected controls. 
 
Contains the absolute ItemIdList of the folder that is currently selected in the connected controls. 
 
Gets or sets the current position in history of visited folders.  
 
Gives access to the files/folders selected using the checkboxes. 
 
For internal use only.