FAQ & Knowledge Base

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

Kategorien: ShellBrowser Delphi Components | Alle Kategorien anzeigen

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

Customize context menu

Frage / Problem

Can I add custom menu items to the shell context menu?

Antwort / Lösung

You cannot write context menu handlers that will work with Windows Explorer using ShellBrowser.

However you can customize the context menu that will be displayed in the ShellBrowser controls, e.g. the TJamShellList:

  • Add a TPopupMenu and implement the actions to be taken
  • Select your custom PopupMenu in the "PopupMenu" property of the TJamShellList
  • Set the "ShowContextMenuOnTop" property to show your custom entries above or below the normal shell context menu's entries.