ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamControls.TJamThumbnailImage

The TJamThumbnailImage component allows you to show a thumbnail preview of a file or folder.

JamControls_TJamThumbnailImageJamControls_TJamThumbnailImageJamControls_TJamThumbnailImage
Syntax
Pascal
TJamThumbnailImage = class(TCustomJamImageFromImageList, IJamShellControl, IThumbnailViewer);

Use this component to display a thumbnail image of a file or folder. The same thumbnail image that the Windows Explorer uses will be shown. The Windows Shell does not supply a thumbnail image for all objects.  

You may either set the Path property to set a path to a file or folder for which the thumbnail image should be displayed. Or you may synchronize it to a TJamShellList or TJamShellTree component using the ShellLink property.  

 

 
Name 
Description 
 
Creates and intializes an instance of this component.  
JamControls.TJamThumbnailImage
 
Name 
Description 
 
Creates an instance of a TJamThumbnailImage component  
 
Destroys an instance of a TJamThumbnailImage component  
ShellLink.IJamShellControl
 
Name 
Description 
 
This method is called by the ShellLink instance if the currently selected item has changed. 
 
Getter method for the ShellLink property. 
 
GoUp 
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. 
JamControls.TJamThumbnailImage
 
Name 
Description 
 
 
 
This method indicates that the┬ácontrol doesn't contain a picture, e.g. when cref="IconInstead" is set to false and no proper thumbnail is contained in the image  
 
This method indicates that the control should perform a refresh of its contents.  
 
Name 
Description 
 
 
 
 
 
 
 
 
 
 
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. 
 
 
 
The version number of the ShellBrower controls. 
 
Determines whether the component appears on screen. 
ShellLink.IJamShellControl
 
Name 
Description 
 
The TJamShellLink instance to which the current control connected. 
JamControls.TJamThumbnailImage
 
Name 
Description 
 
The absolute IItemIdList of the displayed file. 
 
Specifies whether the control sizes itself automatically to accommodate its contents.  
 
Specifies the cut of the inner bevel.  
 
Specifies the cut of the outer bevel.  
 
Determines the width, in pixels, of both the inner and outer bevels of a panel. 
 
Determines whether the list view displays a single line border.  
 
Specifies the distance, in pixels, between the outer and inner bevels. 
 
If set to True (the default value), the thumbnail will be displayed vertically centered. If False, it will be aligned on top.  
 
Specifies the background color of the control.  
 
Specifies the size constraints for the control.  
 
Determines whether the control's image is rendered directly to the window or painted to an in-memory bitmap first.  
 
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. 
 
Enables or disables the thumbnail image.  
 
Decides if an icon should be shown if there is no thumbnail.  
 
Occurs when an attempt is made to resize the control. 
 
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 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 docking the object or by canceling the dragging. 
 
Occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. 
 
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 periodically during slow operations that affect the image.  
 
Occurs when the user begins to drag a control with a DragKind of dkDock. 
 
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. 
 
ParentDoubleBuffered defers the DoubleBuffered property of this component to the value of the parent's DoubleBuffered property. 
 
Specifies where a control looks to find out if its Help Hint should be shown. 
 
Path 
Set the path of the object that should be displayed as thumbnail.  
 
Use this property to access the thumbnail image.  
 
Specifies the pop-up menu associated with the control. 
 
Connects this component to a TJamShellLink in order to synchronize it to other shell controls.  
 
Allow Windows error messages.  
 
Specifies whether to show the Help Hint when the mouse pointer moves over the control. 
 
Specifies the style elements that are used by the control. 
 
Specifies the style name for this control. 
 
The version number of the ShellBrower controls. 
 
Determines whether the component appears onscreen.