Wir verzichten auf Cookies für Marketingzwecke. Funktionale Cookies ermöglichen uns, Ihnen den bestmöglichen Service anzubieten. Wenn Sie unsere Dienste weiterhin verwenden, stimmen Sie der Cookie-Nutzung zu. Datenschutz bei JAM OK

Knowledge Base

Herzlich Willkommen in unserer Wissensdatenbank. Nutzen Sie die Suchfunktion oder durchstöbern Sie unsere Kategorien, um Antworten auf Ihre Fragen zu erhalten.

Die folgenden Inhalte sind leider nicht auf Deutsch verfügbar.

ShellBrowser uses registered preview handler shell extensions for the FilePreview component. Some of these extensions belong to Windows, others are installed with third party applications.

If the FilePreview is not working, please check the following list:

  • Does Windows Explorer preview the files correctly? If no, there is either no preview handler installed, or it is not working correctly. Try updating the respective program. 
  • If the problem occurs in a x86 application, please try compiling a 64-bit version.  
  • The FilePreview component works asynchronously. Depending on the context (versions of Windows, Rad Studio and the PreviewHandler, but also the layout of the form containing the Preview) some Preview Handler may not work or show visual glitches.
     
    Try forcing the loading of the preview into the main thread, by implementing the OnLoadPreview event of the Preview. 
  • If all of this fails, don't hesitate to contact the support. In this case, please provide details on the error: versions of Windows, the IDE and the program that provides the PreviewHandler.

Unfortunately this is beyond the scope of ShellBrowser components. You have to write a "shortcut menu handler" or other type of shell extension to do so.

See the Microsoft documentation for an overview.

Different classes offer methods to execute commands (e.g. InvokeCommandOnSelected, or InvokeCommand.

Formally, these method usually require a TShellCommand as parameter.

However, this type can be assigned a string or a TShellAction, so both

ShellList.InvokeCommandOnSelected('properties')

as well as

ShellList.InvokeCommandOnSelected(saProperties)

will display the property dialog for the selected elements.

TShellAction is an enumeration of frequently used commands. For less common context menu items, you can pass the verb as string.

Tip:

To find out the verb of an existing context menu item, implement the OnBeforeShellCommand event - it passes the verb of the selected menu item.

The path of ShellBrowser is missing in the library path of  Delphi. You may need to add it manually under
Tools / Environment Options / Library / Library Path.

When using our installer:

In RAD Studio choose: Components > Install Packages > Add... > "%BDSCOMMONDIR%\BPL\JamShellBrowserDesign.bpl"


When using the ZIP file download (source code customers only):

  • Extract the ZIP file
  • Open "Packages\RAD Studio XE*\JamShellBrowserDesign.dproj",
  • Right click on "JamShellBrowserDesign.bpl" in the Project Manager
  • Choose "Install".

Ausgewählte Kategorie: ShellBrowser Delphi Components