ShellBrowser Delphi Components Documentation
|
Component lists all drives of the system.
TJamDriveList = class(TJamCustomFileList, IDiskSpaceViewer);
JamDriveList lists all local and network drives of the system. It also displays the capacity and the free space of each drive. You can use the Add or AddEditable method to add files or folders to the list.
It is not possible to rename drives using the shell contextmenu's rename command or by pressing F2. Instead in combination with AddEditable renaming can be used to add new items to the list.
|
Name |
Description |
|
Creates and intializes an instance of this component. | |
|
Destroys an instance of a TJamBaseShellListView component |
|
Name |
Description |
|
Constructor of an instances of a TJamCustomFileList component | |
|
Destructor of an instances of a TJamCustomFileList component |
|
Name |
Description |
|
Creates an instance of a TJamDriveList component | |
|
Destroys an instance of a TJamDriveList component |
|
Name |
Description |
|
This event is triggered before the user changes the columns by using the header context menu. | |
|
This event is triggered before the user changes the columns by using the header context menu. | |
|
This event can be implemented to customize columns. It is called when a column is added to the view, but also when the header context menu or the column selection dialog is displayed. | |
|
This event is triggered before and after the sort. |
|
Name |
Description |
|
This event is fired if a file is to be added to the listview. | |
|
OnAddPath occurs, whenever a new path is added to the listview. | |
|
The OnBeforeCommand event is fired before a command (usually a context menu command) is executed. | |
|
This event occurs, before a context menu command is executed. This event is deprecated and will be removed. Use Jam.Shell.Controls.BaseShellListView.TJamCustomFileList.OnBeforeCommand instead. | |
|
Happens when the user starts a shell drag operation. | |
|
Allows you to prevent unwanted shell drops. | |
|
This event is fired, if the state of a checkbox was changed by the user. | |
|
The OnOperation event occurs after a shell operation like pasting or dragging and dropping files was performed. |
|
Name |
Description |
|
The OnDriveSpaceChanged event is fired, when the total or free space of one of the listed drives changes. | |
|
This event occurs after the existance of DriveListItems has been checked asnchronously. | |
|
This event occurs, when the DriveList receives shell notifications. |
|
Name |
Description |
|
Gets whether cancellation has been requested for this token. |
|
Name |
Description |
|
Communicates a request for cancellation. |
|
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. |
|
Name |
Description |
|
Auto adjust the widths of all columns. | |
|
Returns a list view item, if any, with the specified caption. See TCustomListView.FindCaption | |
|
Returns the current column index for a given TSHColumnId. | |
|
Returns a drag cursor if a list item is being dragged. | |
|
Use this function to get an array of currently visible columns. | |
|
Returns whether the given SHColumnId is currently visible or not. | |
|
Checks if the list is empty. | |
|
Checks if the Item with the passed index is selected. | |
|
Resets the current columns and the saved widths for the current special folder and restores the initial state. | |
|
Selects all Items in a TJamShellList. | |
|
Set the visibility of a column. | |
|
Use this method to display the context menu for the selected entry. | |
|
Triggers sorting by the current settings (SortedBy, SortOrder) | |
|
Sorts the current view by the passed attribute in the passed order. |
|
Name |
Description |
|
Returns the number of selected Objects in the control. | |
|
Executes a shell command on the objects selected in the control. | |
|
Displays a context menu for the selected items. |
|
Name |
Description |
|
Returns an IItemIdListCollection containing the selected ItemIdLists or an empty list if nothing is selected. |
|
Name |
Description |
|
Adds a file or folder to the list. | |
|
Adds a file or folder to the list. | |
|
Add a list of paths to the list. | |
|
Checks all items in the list | |
|
Removes all items from the FileList | |
|
Removes an item from the list view and frees the associated memory. | |
|
Executes a full refresh on the control. | |
|
Use this function to get the full path of an item of the list. | |
|
Use this function to get the full path of an item of the list. | |
|
Returns an IItemIdListCollection containing the selected ItemIdLists or an empty list if nothing is selected. | |
|
Executes a command of the context menu of the current object. | |
|
Executes a command of the context menu of the current object. | |
|
Checks whether an item with the given filename can be found in the list. | |
|
Returns the item that is associated to the filename, if it is in the list, otherwise nil. | |
|
Selects all items of the list. | |
|
Show the context menu for the selected items. | |
|
Executes a quick refresh on the control. | |
|
Sets the Checked state of all Items to "unchecked" (false). |
|
Name |
Description |
|
Adds a drive or path to the drive list. | |
|
Add an object to the list and sets the item to edit-mode. | |
|
Populates the drive list and ensures that all drives that are currently available are present in the list. | |
|
Enures that all drives that are currently available are present in the list and recalculates their free and total disk space. | |
|
Returns whether the drive list is currently populating items async. | |
|
Executes a quick refresh on the control. |
|
Name |
Description |
|
The TJamShellLink instance to which the current control connected. |
|
Name |
Description |
|
Adjust the size of the given column so that it fills the remaining horizontal space. | |
|
The delay in ms after the selection has been changed before connected controls are informed. Default 100 ms. | |
|
Gets the collection of all column headers that appear in the control. | |
|
Sets the column width that is used in ViewStyle vsList | |
|
Determines whether the control's image is rendered directly to the window or painted to an in-memory bitmap first. | |
|
The TJamIconSize that shall be used in viewstyle vsIcon. | |
|
Lets you control the spacing between the large icons and thumbnails. -1 means the spacing is automatically set. A value >= 0 will be added to the width and height of the images of the current view. The small icons should not be affected by this property. | |
|
This event is triggered after the columns were created | |
|
OnCreateItemClass occurs when a list item object is about to be created. | |
|
Specifies where a control looks for its font information. | |
|
Prevents operations that change the file system from being executed. | |
|
Automatically display the shell context menu. | |
|
Use this property to determine if the header conext menu should be displayed when the user right clicks on the columns | |
|
Use the same styles as the Windows Explorer. | |
|
The version number of the ShellBrower controls. |
|
Name |
Description |
|
Gets or sets the alignment of items in the control. | |
|
Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. | |
|
Gets or sets the border style of the control. | |
| ||
|
Specifies the background color of the control. | |
|
Specifies the size constraints for the control. | |
|
Determines whether a control has a three-dimensional (3-D) or two-dimensional look. | |
|
Choose if details of the listed objects should be shown. | |
|
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. | |
|
Controls whether the control responds to mouse, keyboard, and timer events. | |
|
Specifies whether the list view's scroll bars are flat. | |
|
Controls the attributes of text written on or in the control. Make sure to turn off UseSystemFont before editing this control! Otherwise the changes will not persist. | |
|
Specifies whether headers are repainted when they are dragged. | |
|
Determines whether grid lines appear between the rows and columns containing the items and subitems in the control. | |
|
Determines whether the list view gives a visual indication of which item is selected when focus shifts to another control. | |
|
Hint contains the text string that can appear when the user moves the mouse over the control. | |
|
Specifies whether list items are highlighted when the mouse passes over them. | |
|
Determines how icons displayed in the list view are arranged. | |
|
Gets or sets the Input Method Editor (IME) mode of the control. | |
|
Specifies the input method editor (IME) to use for converting keyboard input to Asian language characters. | |
|
Contains the list of items displayed by the list view. | |
|
Determines whether the user can select more than one list item at a time. | |
|
Allow drag and drop operations with the Explorer. | |
| ||
| ||
| ||
|
Occurs immediately after an item in the list changes. | |
|
Occurs when an item in the list is about to change. | |
|
Occurs when the user clicks the control. | |
|
Occurs when the user clicks on a column header in a list view. | |
|
Occurs when a column is dragged to a new position. | |
|
Occurs when the user right clicks on a column header in a list view. | |
|
Occurs when two items need to be compared during a sort of the list. | |
| ||
| ||
| ||
|
Occurs when a subitem must be rendered in an owner-draw list view. | |
|
Occurs when the user double-clicks the left mouse button when the mouse pointer is over the control. | |
| ||
|
Occurs when the user drops an object being dragged. | |
|
Occurs when the user drags an object over a control. | |
| ||
| ||
| ||
| ||
|
Occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. | |
|
Occurs when a control receives the input focus. | |
|
Occurs when the input focus shifts away from one control to another. | |
|
Occurs when an item is about to be displayed in the list view control. | |
| ||
| ||
|
Occurs when a user presses any key while the control has focus. | |
|
Occurs when key pressed. | |
|
Occurs when a user presses any key while the control has focus. | |
|
Occurs when the user presses a mouse button with the mouse pointer over a control. | |
|
Occurs when the mouse pointer moves over the control. | |
|
Occurs when the mouse pointer moves off from over the 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 the mouse wheel is rotated. | |
|
Occurs immediately after the control is resized. | |
| ||
| ||
|
Occurs when the user begins to drag the control or an object it contains by left-clicking the control and holding the mouse button down. | |
|
Specifies where a control looks for its color information. | |
|
Determines where a component looks to determine whether it should have a three-dimensional look. | |
|
Determines where a component looks to determine whether it should have a three-dimensional look. | |
|
Returns a list with the full paths of all items. | |
|
Specifies the pop-up menu associated with the control. | |
|
Indicates if sort order is normal or reverse. | |
|
Determines whether an entire row in the list view can be selected. | |
|
Determines whether the JamFileList control has scroll bars. | |
|
Specifies the number of selected items in the list view. | |
|
Returns the index of the selected item. | |
|
Returns the full path for the selected item. | |
|
Returns a list with the full paths for the selected items. | |
|
Determines whether the column headers are displayed. | |
|
Show the context menu on the top of the supplied Delphi TPopupMenu. | |
|
ShowHint specifies whether to show the Help Hint when the mouse pointer moves over the control. | |
|
If set to false, no overlay icons will be shown, which improves the performance of the control. | |
|
The column according to which the listed objects are sorted. | |
|
The TShellColumnId of the column the view is currently sorted by. | |
|
The current sort order of the view. | |
|
Specifies additional icon images to display next to each item in the list view. | |
|
Indicates the position of the control in its parent's tab order. | |
|
Determines whether the user can tab to a control. | |
|
Set this property to true if you want the component to utilize the default system font. | |
|
Determines whether the component appears onscreen. |
|
Name |
Description |
|
Receives notifications about changes in the shell and performs refreshes automatically. | |
|
Adjust the size of the given column so that it fills the remaining horizontal space. | |
|
Returns a list of the checked drives. | |
|
Offers the possibility to add items that do not exist in the file system. | |
|
If activated, the TGlobalCustomIconHandler will be called, that allows you to set custom icons tree nodes instead of using the system icons. If false, the event is not called for items in this instance. | |
|
Refresh interval for the contents of the DriveList. If 0 no regular refresh will take place. | |
|
Determines whether the control's image is rendered directly to the window or painted to an in-memory bitmap first. | |
|
The color free percentage column exceeding the ErrorLevelPercent threshold. | |
|
If the free space on the drive is below this value, the bar will be drawn in red. | |
|
The ExcludeList contains drives, which should not be displayed in the TJamDriveList. | |
|
If true virtual objects that do not have a physical path are not accepted. Default value is false. | |
|
This property indicates whether the DriveList has been initialized. | |
|
Turns sorting in the list on or off. | |
|
Determines whether the user can select more than one list item at a time. | |
|
Allow drag and drop operations with the Explorer. | |
|
Occurs when an attempt is made to resize the control. | |
|
This event is fired when an item has been edited. | |
|
This event is fired when an item is being edited. | |
|
ParentDoubleBuffered is a boolean indicating that the DoubleBuffered property of this component is overridden by the value of the parent's DoubleBuffered property. | |
|
Prevents operations that change the file system from being executed. | |
|
Determines whether the shell object name should be displayed. | |
|
The color for the status bar that shows the free percentage. | |
|
Specifies the style elements that are used by the control. | |
|
Specifies the style name for this control. | |
|
Touch specifies the touch manager component associated with the control. | |
|
The color free percentage column exceeding the WarnLevelPercent threshold. | |
|
If the free space on the drive is below this value, the bar will be drawn in yellow. |