ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamFilePreview.TJamFilePreview

The TJamFilePreview component allows you to show a preview of a file

JamFilePreview_TJamFilePreviewJamFilePreview_TJamFilePreview
Syntax
Pascal
TJamFilePreview = class(TCustomPanel, IJamShellControl);

Use this component to preview a file. Like in Windows Explorer registered PreviewHandlers are used to render the preview so the results will vary depending on installed previewHandlers.  

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

 

JamFilePreview.TJamFilePreview
 
Name 
Description 
 
Creates an instance of a TJamFilePreview component  
 
Destroys an instance of a TJamFilePreview component  
JamFilePreview.TJamFilePreview
 
Name 
Description 
 
Occurs after the preview of a file is displayed. The event is also raised if a file could not be previewed.  
 
Occurs before the preview handler is loaded for the given file  
 
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. 
JamFilePreview.TJamFilePreview
 
Name 
Description 
 
Invalidates the control.  
 
Allows using a stream to show a file's preview.  
 
Prints a list of installed PreviewHandlers to the Debug Log.  
 
This method indicates that the control should perform a refresh of its contents. 
 
Respond to control resize 
 
Name 
Description 
 
The TJamShellLink instance to which the current control connected. 
JamFilePreview.TJamFilePreview
 
Name 
Description 
 
AbsoluteItemIdList of the item that is/should be previewed 
 
Determines how the control aligns within its container (parent control). 
 
 
Receives notifications about changes in the shell and performs refreshes automatically.  
 
 
 
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. 
 
The caption property is used for temporary state messages the control issues.  
 
If true, previews of images are centered vertically, if false they are top-aligned.  
 
 
Specifies the size constraints for the control.  
 
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 preview.  
 
If set to true PDF files will be previewed via the Acrobat ActiveX object if the registered PreviewHandler failed.  
 
Specifies the attributes of text written on or in the control.  
 
Occurs when an attempt is made to resize 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 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 font information.  
 
Specifies where a control looks to find out if its Help Hint should be shown. 
 
Set the path of the object that should be previewed. 
 
Specifies the pop-up menu associated with the control. 
 
Sets a custom hint message if the currently selected file does not support being previewed. 
 
Sets a custom hint message if the preview could not be displayed. 
 
Sets a custom hint message if no element is currently selected. 
 
Connects this component to a TJamShellLink in order to synchronize it to other shell controls.  
 
Specifies whether to show the Help Hint when the mouse pointer moves over the control. 
 
Holds information on the state of the component 
 
Specifies the style name for this control. 
 
Touch specifies the touch manager component associated with the control.  
 
The FilePreview has an own implementation for previewing files with textual content. Set this flag to false, to use it.the  
 
The version number of the ShellBrower controls. 
 
Determines whether the component appears onscreen.