ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamSystemShellView.TJamSystemShellView

A TJamSystemShellView control looks and behaves like the right pane of the Windows Explorer.

JamSystemShellView_TJamSystemShellViewJamSystemShellView_TJamSystemShellViewJamSystemShellView_TJamSystemShellViewJamSystemShellView_TJamSystemShellViewJamSystemShellView_TJamSystemShellView
Syntax
Pascal
TJamSystemShellView = class(TJamShellControl, IOleWindow, IShellBrowser);

This control displays the contents of a folder in a ListView like control. It is a true instance of the right pane of the Windows Explorer and therefore looks and behaves exactly like the Windows Explorer on the system it is running on. In contrast to that, the TJamShellList is derived from the Windows ListView common control and just mimics the right pane of the Windows Explorer. While the TJamSystemShellView looks and behaves more similar to the Windows Explorer on the target system, the TJamShellList offers more control on the appearance and actions.  

The used view style can be changed using the ViewStyle property. Per default the native shell context menu is used when a user performs a right click on files or folders. With the PopupMenu and BackgroundPopupMenu properties it is possible to replace the shell context menu with a custom one.  

This control does not support Delphi VCL styles shipped with Rad Studio because it instantiates an ActiveX object. Nevertheless the usage of the project VCL Styles Utils unlocks this limitation and makes it possible to use this component with VCL styles.  

 

JamSystemShellView.TJamShellControl
 
Name 
Description 
 
Creates an instance of a TJamShellControl base component class.  
 
Destructor of a TJamShellControl component.  
JamSystemShellView.TJamSystemShellView
 
Name 
Description 
 
Creates an instance of a TJamSystemShellView component.  
 
Destructor of a TJamSystemShellView component.  
JamSystemShellView.TJamShellControl
 
Name 
Description 
 
Occurs, whenever a new item is added to a JamSystemShellView
 
Occurs when the user drags a file on the control.  
 
Occurs when the user drags a file over the control.  
 
Occurs when the user drops a file on the control.  
JamSystemShellView.TJamSystemShellView
 
Name 
Description 
 
Occurs, whenever a new item is added to a JamSystemShellView
 
Occurs when the user drags a file on the control.  
 
Occurs when the user drags a file over the control.  
 
Occurs when the user drops a file on the control.  
 
Name 
Description 
 
This method is called by the ShellLink instance if the currently selected item has changed. 
 
Getter method for the ShellLink property. 
 
This method indicates that the callee should go up one level and display the contents of the current folder's parent folder. 
 
This method is called by the ShellLink instance if the currently displayed folder has changed. 
 
This method indicates that the control should perform a refresh of its contents. 
 
This method indicates that the callee should select all item it currently displays. 
 
Setter method for the ShellLink property. 
ShellLink.IJamMultiSelectShellControl
 
Name 
Description 
 
Returns an IItemIdListCollection containing the selected ItemIdLists or an empty list if nothing is selected. 
ShellLink.IJamSupportsFilter
 
Name 
Description 
 
Called by the ShellLink instance when the Filter is changed.  
JamSystemShellView.TJamShellControl
 
Name 
Description 
 
Creates a new directory in the current folder.  
 
Issues that all items in the current view has to be deselected.  
 
Deselects the item at the position passed by IItemIdList.  
 
Deselects an item in the current view by its index.  
 
Puts the first selected item into the edit/rename mode.  
 
Scrolls to the item with the specified IItemIdList.  
 
Scrolls to the item at the specified index.  
 
Refreshes the contents of the TJamShellControl base class.  
 
Returns the full path of a given index of an item.  
 
Goes up one level in the file system structure.  
 
Returns the position of a path in the list.  
 
Executes a context menu command for the listed folder.  
 
Executes a context menu command for all selected items.  
 
Use this method to check if the item at the passed index is a folder.  
 
Checks if the item with the given IItemIdList is selected.  
 
Checks if the item with the given index is selected.  
 
Returns if the given item is a special folder.  
 
Moves one step back in history of visited folders.  
 
Moves one step forward in history of visited folders.  
 
Issues that all items in the current view has to be selected.  
 
Returns the summarized size of all selected files in Bytes.  
 
Selects the item at the position passed by IItemIdList.  
 
Selects the item at the position passed by index.  
 
Triggers a smart refresh for all connected controls.  
 
Ungroups the items inside the current view.  
JamSystemShellView.TJamSystemShellView
 
Name 
Description 
 
Deselects the item at the position passed by IItemIdList.  
 
Deselects an item in the current view by its index.  
 
Puts the first selected item into the edit/rename mode.  
 
Scrolls to the item with the specified IItemIdList.  
 
Scrolls to the item at the specified index.  
 
Checks if move is possible.  
 
Checks if the item with the given IItemIdList is selected.  
 
Checks if the item with the given index is selected.  
 
Moves one step back in history of visited folders.  
 
Moves one step forward in history of visited folders.  
 
Jump back and forward to directories, which you selected before.  
 
Passes messages to the native shell view and/or raises matching events.  
 
Selects the item at the position passed by IItemIdList.  
 
Selects the item at the position passed by index.  
 
Sets the keyboard focus to the specified window.  
 
Name 
Description 
 
The TJamShellLink instance to which the current control connected. 
JamSystemShellView.TJamShellControl
 
Name 
Description 
 
Popup menu for a right click on the background of the view.  
 
Determines whether the list view displays a single line border.  
 
Gets or sets a value indicating whether the control displays checkboxes that can be used to set the selection. After that the "Select" methods like SelectItem or DeselectItem can be used to check or uncheck items in the view.  
 
Gets or sets a value indicating if column headers should be shown. Per default column headers are only visible if ViewStyle is vsDetails.  
 
Gets or sets TJamShellViewColumns.  
 
Sets the new default text to be displayed when the ExplorerBrowser view is empty.  
 
Use FileSystemOnly to determine if only file system objects should be displayed.  
 
Allows you to filter objects by filename patterns.  
 
Gets or sets the current folder.  
 
Sets up some TJamShellFolderFlags for the view.  
 
Gets or sets the view grouping.  
 
Gets or sets the group direction.  
 
Gets or sets the number of visible rows of items in each group.  
 
The height and width of icons in pixels. Only reasonibly applies in ViewStyle vmIcon  
 
Use Item to directly access an item in the list.  
 
Read ItemCount to determine the number of items that are in the folder.  
 
Set this property to True to allow Ole Drag-and-Drop operations with the Windows Explorer and other shell controls.  
 
Occurs before the full refresh is executed.  
 
Occurs if the underlying view has changed.  
 
Occurs after user performs a double click or hits the enter key.  
 
Occurs when the user drags a file out of the selected control.  
 
Occurs when navigating to a folder has been completed successfully.  
 
Occurs when navigating to a folder has failed.  
 
The OnPathChanged event occurs, when the users changes the path.  
 
The OnPopulated event occurs, after the control was filled completely.  
 
Occurs when selection has changed.  
 
The file system path of the current folder.  
 
Returns the selected Item or nil if nothing is selected.  
 
Gets the number of currently selected items in the view.  
 
Provides access to the names of the selected files.  
 
Indicates the position of the list item in the list items collection.  
 
Contains the selected item collection in the current view. The collection is gathered upon first retrieval. It is updated internally when the items change, i.e. by moving to another folder. The items returned may be sorted differently than the view.  
 
Connects this component to a TJamShellLink in order to synchronize several shell controls.  
 
Gets the IShellView of the current folder view.  
 
Allow Windows error messages.  
 
This property allows to include files in the view.  
 
This property allows to display folders or not.  
 
This property allows to hide files or folders.  
 
This property allows to change the look and the objects displayed.  
 
Allows you to deal with non file system folders.  
 
The current version of the ShellBrowser components.  
 
Determines how the list items are displayed.  
JamSystemShellView.TJamSystemShellView
 
Name 
Description 
 
Determines how the control aligns within its container (parent control).  
 
Specifies how the control is anchored to its parent.  
 
Popup menu for a right click on the background of the view.  
 
 
Determines whether the list view displays a single line border.  
 
Gets or sets a value indicating whether the control displays checkboxes that can be used to set the selection. After that the "Select" methods like SelectItem or DeselectItem can be used to check or uncheck items in the view.  
 
Use Constraints to specify the minimum and maximum width and height of the control.  
 
Determines whether a control has a three-dimensional (3-D) or two-dimensional look.  
 
Specifies the image used to represent the mouse pointer when the control is being dragged. 
 
Specifies whether the control is being dragged normally or for docking. 
 
Specifies how the control initiates drag-and-drop or drag-and-dock operations. 
 
Sets the new default text to be displayed when the ExplorerBrowser view is empty.  
 
Controls whether the control responds to mouse, keyboard, and timer events.  
 
Determines if an extended tile view should be shown if ViewStyle is set to vmTiles.  
 
Allows you to filter objects by filename patterns.  
 
Since this controls wraps an OLE control of the system, the font cannot be changed and depends on the system settings.  
 
Gets or sets the number of visible rows of items in each group.  
 
The height and width of icons in pixels. Only applies in ViewStyle vsIcon  
 
The icon size to be used for the icons.  
 
Returns the handle of the ListView of this Control.  
 
Set this property to True to allow Ole Drag-and-Drop operations with the Windows Explorer and other shell controls.  
 
Occurs before the full refresh is executed.  
 
Occurs if the underlying view has changed.  
 
Occurs when the user clicks the control.  
 
Occurs when the user right-clicks the control or otherwise invokes the pop-up menu (such as using the keyboard).  
 
Occurs when the user double-clicks the left mouse button when the mouse pointer is over the control.  
 
Occurs after user performs a double click or hits the enter key.  
 
Occurs when the user drags a file out of the selected control.  
 
Occurs when a control receives the input focus.  
 
Occurs when the input focus shifts away from one control to another.  
 
Occurs when a user presses any key while the control has focus.  
 
Occurs when a key is pressed.  
 
Occurs when the user releases a key that was pressed.  
 
Occurs when the user presses a mouse button with the mouse pointer over a control.  
 
Occurs when the user moves the mouse pointer while the mouse pointer is over a control.  
 
Occurs when the user releases a mouse button that was pressed with the mouse pointer over a component.  
 
Occurs when navigating to a folder has been completed successfully.  
 
Occurs when navigating to a folder has failed.  
 
The OnPathChanged event occurs, when the users changes the path.  
 
The OnPopulated event occurs, after the control was filled completely.  
 
Occurs when the control is resized.  
 
Occurs when selection has changed.  
 
Specifies whether the control uses its parent's BiDiMode.  
 
Specifies where a control looks for its color information.  
 
Determines where a component looks to determine whether it should have a three-dimensional look. 
 
Since this controls wraps an OLE control of the system, the font cannot be changed and depends on the system settings. 
 
Specifies where a control looks to find out if its Help Hint should be shown. 
 
The file system path of the current folder.  
 
Specifies the pop-up menu associated with the control.  
 
Automatically display the shell context menu.  
 
Connects this component to a TJamShellLink in order to synchronize several shell controls.  
 
Allow Windows error messages.  
 
This property allows to include files in the view.  
 
This property allows to display folders or not.  
 
This property allows to hide files or folders.  
 
Shows hint text.  
 
Show Network neighbourhood.  
 
This property allows to change the look and the objects displayed.  
 
Show the Recycle Bin.  
 
Allows you to deal with non file system folders.  
 
Indicates the position of the control in its parent's tab order. 
 
Determines whether the user can tab to a control. 
 
Switches the thumbnail mode on and off.  
 
Determines how the list items are displayed.  
 
Determines whether the component appears on screen.